summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-05-09 17:10:44 +0200
committerhathach <[email protected]>2024-07-19 17:02:57 +0700
commit4b55af17c90acad9c03f5f3b41645d4ed954d42f (patch)
treec2a72e42893994e72d2262df06bfdce6d980cea5
parent772398f6ead893e6eb69399e11c725919c2f1e1a (diff)
Fix STM32F7 FS port build.
-rw-r--r--hw/bsp/stm32f7/family.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/stm32f7/family.mk b/hw/bsp/stm32f7/family.mk
index e261b0467..bae7d6d5b 100644
--- a/hw/bsp/stm32f7/family.mk
+++ b/hw/bsp/stm32f7/family.mk
@@ -24,6 +24,7 @@ ifeq ($(PORT), 1)
$(info "Using OTG_HS in FullSpeed mode")
endif
else
+ CFLAGS += -DBOARD_TUD_MAX_SPEED=OPT_MODE_FULL_SPEED
$(info "Using OTG_FS")
endif