summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-24 23:10:01 +0700
committerhathach <[email protected]>2023-06-24 23:10:01 +0700
commitb9cefb144004691ec201f3bb60619ebac633da4b (patch)
treef3377188bc63a2f8ba24ae44467495745edaa9e2
parentc81d8b43a1f0d366cf273b489ce51a3f21653c87 (diff)
fix build with L4
-rw-r--r--hw/bsp/stm32l4/family.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32l4/family.cmake b/hw/bsp/stm32l4/family.cmake
index c8397f418..83c51c9bf 100644
--- a/hw/bsp/stm32l4/family.cmake
+++ b/hw/bsp/stm32l4/family.cmake
@@ -107,7 +107,7 @@ function(family_configure_example TARGET)
)
# Add TinyUSB target and port source
- family_add_tinyusb(${TARGET} OPT_MCU_$(FAMILY_MCUS))
+ family_add_tinyusb(${TARGET} OPT_MCU_${FAMILY_MCUS})
target_sources(${TARGET}-tinyusb PUBLIC
${TOP}/src/portable/synopsys/dwc2/dcd_dwc2.c
${TOP}/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c