We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b624664 commit 7a48b1fCopy full SHA for 7a48b1f
src/portable/synopsys/dwc2/dwc2_stm32.h
@@ -64,6 +64,10 @@
64
65
// NOTE: H7 with only 1 USB port: H72x / H73x / H7Ax / H7Bx
66
// USB_OTG_FS_PERIPH_BASE and OTG_FS_IRQn not defined
67
+ #if (! defined USB2_OTG_FS)
68
+ #define USB_OTG_FS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE
69
+ #define OTG_FS_IRQn OTG_HS_IRQn
70
+ #endif
71
72
#elif CFG_TUSB_MCU == OPT_MCU_STM32F7
73
#include "stm32f7xx.h"
0 commit comments