mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 16:20:26 +00:00
Restore RTOS argument for stm32f4
This commit is contained in:
parent
9554a354d4
commit
34966304dd
@ -79,8 +79,9 @@ endfunction()
|
|||||||
#------------------------------------
|
#------------------------------------
|
||||||
# Functions
|
# Functions
|
||||||
#------------------------------------
|
#------------------------------------
|
||||||
function(family_configure_example TARGET)
|
function(family_configure_example TARGET RTOS)
|
||||||
family_configure_common(${TARGET})
|
family_configure_common(${TARGET} ${RTOS})
|
||||||
|
|
||||||
|
|
||||||
# Board target
|
# Board target
|
||||||
add_board_target(board_${BOARD})
|
add_board_target(board_${BOARD})
|
||||||
@ -100,7 +101,7 @@ function(family_configure_example TARGET)
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Add TinyUSB target and port source
|
# Add TinyUSB target and port source
|
||||||
family_add_tinyusb(${TARGET} OPT_MCU_STM32F4)
|
family_add_tinyusb(${TARGET} OPT_MCU_STM32F4 ${RTOS})
|
||||||
if (MCU_VARIANT STREQUAL "stm32f407xx")
|
if (MCU_VARIANT STREQUAL "stm32f407xx")
|
||||||
target_sources(${TARGET}-tinyusb PUBLIC
|
target_sources(${TARGET}-tinyusb PUBLIC
|
||||||
${TOP}/src/portable/synopsys/dwc2/dcd_dwc2.c
|
${TOP}/src/portable/synopsys/dwc2/dcd_dwc2.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user