usb使用dma

This commit is contained in:
2025-10-19 01:20:06 +08:00
parent eab38c8eff
commit 4eb3e830d0
3 changed files with 4 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ extern "C" {
//--------------------------------------------------------------------
#define CFG_TUD_DWC2_DMA_ENABLE 1
#define CFG_TUSB_MCU OPT_MCU_STM32F4
// defined by compiler flags for flexibility
#ifndef CFG_TUSB_MCU