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

@@ -114,10 +114,8 @@ function(family_configure_example TARGET)
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/boards/${BOARD}
)
# Add TinyUSB
# Add TinyUSB target and port source
family_add_tinyusb(${TARGET} OPT_MCU_MIMXRT1XXX)
# Add TinyUSB Port source
target_sources(${TARGET}-tinyusb PUBLIC
${TOP}/src/portable/chipidea/ci_hs/dcd_ci_hs.c
${TOP}/src/portable/chipidea/ci_hs/hcd_ci_hs.c