mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
commit
2a343ba916
@ -309,6 +309,8 @@ typedef struct TU_ATTR_PACKED
|
||||
uint8_t bMaxPower ; ///< Maximum power consumption of the USB device from the bus in this specific configuration when the device is fully operational. Expressed in 2 mA units (i.e., 50 = 100 mA).
|
||||
} tusb_desc_configuration_t;
|
||||
|
||||
TU_VERIFY_STATIC( sizeof(tusb_desc_configuration_t) == 9, "size is not correct");
|
||||
|
||||
/// USB Interface Descriptor
|
||||
typedef struct TU_ATTR_PACKED
|
||||
{
|
||||
|
@ -27,7 +27,6 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if (((CFG_TUSB_MCU == OPT_MCU_ESP32S2) || (CFG_TUSB_MCU == OPT_MCU_ESP32S3)) && TUSB_OPT_DEVICE_ENABLED)
|
||||
|
||||
@ -41,6 +40,7 @@
|
||||
#include "soc/gpio_sig_map.h"
|
||||
#include "soc/usb_periph.h"
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
|
||||
// Since TinyUSB doesn't use SOF for now, and this interrupt too often (1ms interval)
|
||||
|
@ -25,11 +25,11 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if CFG_TUSB_MCU == OPT_MCU_SAMG
|
||||
|
||||
#include "sam.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
|
||||
// TODO should support (SAM3S || SAM4S || SAM4E || SAMG55)
|
||||
|
@ -34,10 +34,10 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED && (CFG_TUSB_MCU == OPT_MCU_NUC120)
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
#include "NUC100Series.h"
|
||||
|
||||
|
@ -34,10 +34,10 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED && ( (CFG_TUSB_MCU == OPT_MCU_NUC121) || (CFG_TUSB_MCU == OPT_MCU_NUC126) )
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
#include "NuMicro.h"
|
||||
|
||||
|
@ -34,10 +34,10 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED && (CFG_TUSB_MCU == OPT_MCU_NUC505)
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
#include "NUC505Series.h"
|
||||
|
||||
|
@ -102,7 +102,6 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if defined(STM32F102x6) || defined(STM32F102xB) || \
|
||||
defined(STM32F103x6) || defined(STM32F103xB) || \
|
||||
@ -121,6 +120,7 @@
|
||||
// Some definitions are copied to our private include file.
|
||||
#undef USE_HAL_DRIVER
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
#include "portable/st/stm32_fsdev/dcd_stm32_fsdev_pvt_st.h"
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
// Since TinyUSB doesn't use SOF for now, and this interrupt too often (1ms interval)
|
||||
// We disable SOF for now until needed later on
|
||||
@ -98,6 +97,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
@ -25,10 +25,10 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if CFG_TUSB_MCU == OPT_MCU_NONE
|
||||
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
@ -26,11 +26,11 @@
|
||||
*/
|
||||
|
||||
#include "tusb_option.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MSP430x5xx )
|
||||
|
||||
#include "msp430.h"
|
||||
#include "common/tusb_fifo.h"
|
||||
#include "device/dcd.h"
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user