Skip to content

Commit

Permalink
add CFG_TUD_DWC2_SLAVE_ENABLE = 1 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Nov 18, 2024
1 parent 6d4a60d commit ac9bc01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tusb_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@
// USBIP
//--------------------------------------------------------------------+

#ifndef CFG_TUD_DWC2_SLAVE_ENABLE
#define CFG_TUD_DWC2_SLAVE_ENABLE 1
#endif

// 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.
Expand Down

0 comments on commit ac9bc01

Please sign in to comment.