summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-29 14:06:44 +0700
committerhathach <[email protected]>2022-06-29 14:06:44 +0700
commit8fe9022a6e6dea785092f4e0dff8180f1f0d4d86 (patch)
treeecb65ee78f74f67a52723f5719a2eecbf90af0a6 /src
parent3ead682af05bee3a275125f3e0384dd9b2882546 (diff)
fix buid_board.py script
Diffstat (limited to 'src')
-rw-r--r--src/portable/synopsys/dwc2/dwc2_stm32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_stm32.h b/src/portable/synopsys/dwc2/dwc2_stm32.h
index 1d849541e..1187e0d6e 100644
--- a/src/portable/synopsys/dwc2/dwc2_stm32.h
+++ b/src/portable/synopsys/dwc2/dwc2_stm32.h
@@ -43,6 +43,9 @@
#define EP_MAX_FS USB_OTG_FS_MAX_IN_ENDPOINTS
#define EP_FIFO_SIZE_FS USB_OTG_FS_TOTAL_FIFO_SIZE
+ #define EP_MAX_HS USB_OTG_HS_MAX_IN_ENDPOINTS
+ #define EP_FIFO_SIZE_HS USB_OTG_HS_TOTAL_FIFO_SIZE
+
#elif CFG_TUSB_MCU == OPT_MCU_STM32F4
#include "stm32f4xx.h"
#define EP_MAX_FS USB_OTG_FS_MAX_IN_ENDPOINTS