1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

USB VID/PID: Set whitelist define for internals that use usb.h

This list is probably incomplete as it was created experimentally.
This commit is contained in:
chrysn 2020-01-16 18:59:04 +01:00
parent f35ce9cd8e
commit e65f3f372b
13 changed files with 29 additions and 0 deletions

View File

@ -19,6 +19,9 @@
* @author Koen Zandberg <koen@bergzand.net>
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -15,6 +15,9 @@
* @author Koen Zandberg <koen@bergzand.net>
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -20,6 +20,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#ifdef MODULE_PERIPH_I2C
#include "periph/i2c.h"
#endif

View File

@ -19,6 +19,8 @@
#ifdef MODULE_USBUS_CDC_ECM
#define USB_H_USER_IS_RIOT_INTERNAL
#include "log.h"
#include "usb/usbus/cdc/ecm.h"
#include "net/gnrc/netif/ethernet.h"

View File

@ -22,6 +22,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include "usb/usbus.h"
#ifdef MODULE_USBUS_CDC_ECM

View File

@ -16,6 +16,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <string.h>
#include "tsrb.h"

View File

@ -19,6 +19,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <stdio.h>
#include "isrpipe.h"

View File

@ -15,6 +15,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include "event.h"
#include "fmt.h"
#include "kernel_defines.h"

View File

@ -15,6 +15,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <string.h>
#include "kernel_defines.h"

View File

@ -16,6 +16,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include "bitarithm.h"
#include "event.h"
#include "thread.h"

View File

@ -15,6 +15,9 @@
* @author Koen Zandberg <koen@bergzand.net>
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include "periph/usbdev.h"
#include "usb/descriptor.h"
#include "usb/usbus.h"

View File

@ -16,6 +16,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <string.h>
#include "periph/usbdev.h"
#include "usb/usbus.h"

View File

@ -16,6 +16,8 @@
* @}
*/
#define USB_H_USER_IS_RIOT_INTERNAL
#include <string.h>
#include <stdio.h>
#include "usb/descriptor.h"