fix build, update freertos config for cmake

This commit is contained in:
hathach
2023-06-16 14:17:25 +07:00
parent 65d6acdbfa
commit a7f330fa94
21 changed files with 107 additions and 100 deletions

View File

@@ -192,12 +192,8 @@ function(family_add_freertos TARGET)
CFG_TUSB_OS=OPT_OS_FREERTOS
)
# link tinyusb with freeRTOS kernel
target_link_libraries(${TARGET}-tinyusb PUBLIC
freertos_kernel
)
target_link_libraries(${TARGET} PUBLIC
freertos_kernel
)
target_link_libraries(${TARGET}-tinyusb PUBLIC freertos_kernel)
target_link_libraries(${TARGET} PUBLIC freertos_kernel)
endfunction()