rework cmake with rtos support add RTOS to family_configure_device/host/dual_example()

This commit is contained in:
hathach
2023-06-27 15:45:38 +07:00
parent bc0d6c7e92
commit e43387abac
48 changed files with 277 additions and 409 deletions

View File

@@ -29,9 +29,6 @@ target_include_directories(${PROJECT} PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/src
)
# Configure compilation flags and libraries for the example... see the corresponding function
# in hw/bsp/FAMILY/family.cmake for details.
family_configure_device_example(${PROJECT})
# Add FreeRTOS for this example
family_add_freertos(${PROJECT})
# Configure compilation flags and libraries for the example with FreeRTOS.
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
family_configure_device_example(${PROJECT} freertos)