Merge branch 'master' into fork/Maerdl/master
This commit is contained in:
@@ -124,6 +124,7 @@
|
||||
#define OPT_MCU_ESP32C6 904 ///< Espressif ESP32-C6
|
||||
#define OPT_MCU_ESP32C2 905 ///< Espressif ESP32-C2
|
||||
#define OPT_MCU_ESP32H2 906 ///< Espressif ESP32-H2
|
||||
#define OPT_MCU_ESP32P4 907 ///< Espressif ESP32-P4
|
||||
#define TUP_MCU_ESPRESSIF (CFG_TUSB_MCU >= 900 && CFG_TUSB_MCU < 1000) // check if Espressif MCU
|
||||
|
||||
// Dialog
|
||||
@@ -229,7 +230,7 @@
|
||||
#define OPT_MODE_SPEED_MASK 0xff00
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// Include tusb_config.h and tusb_mcu.h
|
||||
// Include tusb_config.h
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
// Allow to use command line to change the config name/location
|
||||
@@ -239,6 +240,33 @@
|
||||
#include "tusb_config.h"
|
||||
#endif
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// USBIP
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
// DWC2 controller: use DMA for data transfer
|
||||
// For processors with data cache enabled, USB endpoint buffer region
|
||||
// (defined by CFG_TUSB_MEM_SECTION) must be declared as non-cacheable.
|
||||
// For example, on Cortex-M7 the MPU region can be configured as normal
|
||||
// non-cacheable, with RASR register value: TEX=1 C=0 B=0 S=0.
|
||||
#ifndef CFG_TUD_DWC2_DMA
|
||||
#define CFG_TUD_DWC2_DMA 0
|
||||
#endif
|
||||
|
||||
// Enable PIO-USB software host controller
|
||||
#ifndef CFG_TUH_RPI_PIO_USB
|
||||
#define CFG_TUH_RPI_PIO_USB 0
|
||||
#endif
|
||||
|
||||
#ifndef CFG_TUD_RPI_PIO_USB
|
||||
#define CFG_TUD_RPI_PIO_USB 0
|
||||
#endif
|
||||
|
||||
// MAX3421 Host controller option
|
||||
#ifndef CFG_TUH_MAX3421
|
||||
#define CFG_TUH_MAX3421 0
|
||||
#endif
|
||||
|
||||
#include "common/tusb_mcu.h"
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
@@ -549,20 +577,6 @@
|
||||
#define CFG_TUH_API_EDPT_XFER 0
|
||||
#endif
|
||||
|
||||
// Enable PIO-USB software host controller
|
||||
#ifndef CFG_TUH_RPI_PIO_USB
|
||||
#define CFG_TUH_RPI_PIO_USB 0
|
||||
#endif
|
||||
|
||||
#ifndef CFG_TUD_RPI_PIO_USB
|
||||
#define CFG_TUD_RPI_PIO_USB 0
|
||||
#endif
|
||||
|
||||
// MAX3421 Host controller option
|
||||
#ifndef CFG_TUH_MAX3421
|
||||
#define CFG_TUH_MAX3421 0
|
||||
#endif
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// TypeC Options (Default)
|
||||
//--------------------------------------------------------------------+
|
||||
|
Reference in New Issue
Block a user