update device_info example to work with p4 dcache
This commit is contained in:
@@ -249,12 +249,20 @@
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
#ifndef CFG_TUD_DWC2_SLAVE_ENABLE
|
||||
#define CFG_TUD_DWC2_SLAVE_ENABLE 1
|
||||
#ifndef CFG_TUD_DWC2_SLAVE_ENABLE_DEFAULT
|
||||
#define CFG_TUD_DWC2_SLAVE_ENABLE_DEFAULT 1
|
||||
#endif
|
||||
|
||||
#define CFG_TUD_DWC2_SLAVE_ENABLE CFG_TUD_DWC2_SLAVE_ENABLE_DEFAULT
|
||||
#endif
|
||||
|
||||
// Enable DWC2 DMA for device
|
||||
#ifndef CFG_TUD_DWC2_DMA_ENABLE
|
||||
#define CFG_TUD_DWC2_DMA_ENABLE 0
|
||||
#ifndef CFG_TUD_DWC2_DMA_ENABLE_DEFAULT
|
||||
#define CFG_TUD_DWC2_DMA_ENABLE_DEFAULT 0
|
||||
#endif
|
||||
|
||||
#define CFG_TUD_DWC2_DMA_ENABLE CFG_TUD_DWC2_DMA_ENABLE_DEFAULT
|
||||
#endif
|
||||
|
||||
// Enable DWC2 Slave mode for host
|
||||
|
Reference in New Issue
Block a user