diff options
| author | hathach <[email protected]> | 2023-05-07 22:09:08 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-05-07 22:09:08 +0700 |
| commit | 6945c594d53ca6a35f1f0bb120b5a652c6ce9e84 (patch) | |
| tree | fa61b011c731828ce706caa5c3f92c625c075065 /examples/device/cdc_msc_freertos | |
| parent | f15f79df5d242fdeff06dff14a9550905f29d514 (diff) | |
update all device cmake example for imx
Diffstat (limited to 'examples/device/cdc_msc_freertos')
| -rw-r--r-- | examples/device/cdc_msc_freertos/CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/examples/device/cdc_msc_freertos/CMakeLists.txt b/examples/device/cdc_msc_freertos/CMakeLists.txt index 75ec33145..319ad0356 100644 --- a/examples/device/cdc_msc_freertos/CMakeLists.txt +++ b/examples/device/cdc_msc_freertos/CMakeLists.txt @@ -34,11 +34,5 @@ target_include_directories(${PROJECT} PUBLIC # in hw/bsp/FAMILY/family.cmake for details. family_configure_device_example(${PROJECT}) -if (NOT TARGET freertos_kernel) -family_configure_freertos_example(${PROJECT}) -add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../../lib/FreeRTOS-Kernel lib/FreeRTOS-Kernel) -endif() - -target_link_libraries(${PROJECT} PUBLIC - freertos_kernel - ) +# Add FreeRTOS for this example +family_add_freertos(${PROJECT}) |
