Skip to content

Commit

Permalink
Restore RTOS argument for stm32f4
Browse files Browse the repository at this point in the history
  • Loading branch information
ahooper committed Jul 3, 2023
1 parent 9554a35 commit 3496630
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hw/bsp/stm32f4/family.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ endfunction()
#------------------------------------
# Functions
#------------------------------------
function(family_configure_example TARGET)
family_configure_common(${TARGET})
function(family_configure_example TARGET RTOS)
family_configure_common(${TARGET} ${RTOS})


# Board target
add_board_target(board_${BOARD})
Expand All @@ -100,7 +101,7 @@ function(family_configure_example TARGET)
)

# 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")
target_sources(${TARGET}-tinyusb PUBLIC
${TOP}/src/portable/synopsys/dwc2/dcd_dwc2.c
Expand Down

0 comments on commit 3496630

Please sign in to comment.