fix build with L4

This commit is contained in:
hathach 2023-06-24 23:10:01 +07:00
parent c81d8b43a1
commit b9cefb1440
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
1 changed files with 1 additions and 1 deletions

View File

@ -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