Skip to content

Commit e43387a

Browse files
committed
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example()
1 parent bc0d6c7 commit e43387a

File tree

48 files changed

+272
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+272
-404
lines changed

examples/device/audio_4_channel_mic/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ target_include_directories(${PROJECT} PUBLIC
2828
${CMAKE_CURRENT_SOURCE_DIR}/src
2929
)
3030

31-
# Configure compilation flags and libraries for the example... see the corresponding function
32-
# in hw/bsp/FAMILY/family.cmake for details.
33-
family_configure_device_example(${PROJECT})
31+
# Configure compilation flags and libraries for the example without RTOS.
32+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
33+
family_configure_device_example(${PROJECT} noos)

examples/device/audio_test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ target_include_directories(${PROJECT} PUBLIC
2828
${CMAKE_CURRENT_SOURCE_DIR}/src
2929
)
3030

31-
# Configure compilation flags and libraries for the example... see the corresponding function
32-
# in hw/bsp/FAMILY/family.cmake for details.
33-
family_configure_device_example(${PROJECT})
31+
# Configure compilation flags and libraries for the example without RTOS.
32+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
33+
family_configure_device_example(${PROJECT} noos)

examples/device/audio_test_multi_rate/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ target_include_directories(${PROJECT} PUBLIC
2828
${CMAKE_CURRENT_SOURCE_DIR}/src
2929
)
3030

31-
# Configure compilation flags and libraries for the example... see the corresponding function
32-
# in hw/bsp/FAMILY/family.cmake for details.
33-
family_configure_device_example(${PROJECT})
31+
# Configure compilation flags and libraries for the example without RTOS.
32+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
33+
family_configure_device_example(${PROJECT} noos)

examples/device/board_test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ target_include_directories(${PROJECT} PUBLIC
2727
${CMAKE_CURRENT_SOURCE_DIR}/src
2828
)
2929

30-
# Configure compilation flags and libraries for the example... see the corresponding function
31-
# in hw/bsp/FAMILY/family.cmake for details.
32-
family_configure_device_example(${PROJECT})
30+
# Configure compilation flags and libraries for the example without RTOS.
31+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
32+
family_configure_device_example(${PROJECT} noos)

examples/device/cdc_dual_ports/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ target_include_directories(${PROJECT} PUBLIC
2828
${CMAKE_CURRENT_SOURCE_DIR}/src
2929
)
3030

31-
# Configure compilation flags and libraries for the example... see the corresponding function
32-
# in hw/bsp/FAMILY/family.cmake for details.
33-
family_configure_device_example(${PROJECT})
31+
# Configure compilation flags and libraries for the example without RTOS.
32+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
33+
family_configure_device_example(${PROJECT} noos)

examples/device/cdc_msc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ target_include_directories(${PROJECT} PUBLIC
3232

3333
# Configure compilation flags and libraries for the example... see the corresponding function
3434
# in hw/bsp/FAMILY/family.cmake for details.
35-
family_configure_device_example(${PROJECT})
35+
family_configure_device_example(${PROJECT} noos)

examples/device/cdc_msc_freertos/CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ target_include_directories(${PROJECT} PUBLIC
3030
${CMAKE_CURRENT_SOURCE_DIR}/src
3131
)
3232

33-
# Configure compilation flags and libraries for the example... see the corresponding function
34-
# in hw/bsp/FAMILY/family.cmake for details.
35-
family_configure_device_example(${PROJECT})
36-
37-
# Add FreeRTOS for this example
38-
family_add_freertos(${PROJECT})
33+
# Configure compilation flags and libraries for the example with FreeRTOS.
34+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
35+
family_configure_device_example(${PROJECT} freertos)

examples/device/dfu/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ target_include_directories(${PROJECT} PUBLIC
2727
${CMAKE_CURRENT_SOURCE_DIR}/src
2828
)
2929

30-
# Configure compilation flags and libraries for the example... see the corresponding function
31-
# in hw/bsp/FAMILY/family.cmake for details.
32-
family_configure_device_example(${PROJECT})
30+
# Configure compilation flags and libraries for the example without RTOS.
31+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
32+
family_configure_device_example(${PROJECT} noos)

examples/device/dfu_runtime/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ target_include_directories(${PROJECT} PUBLIC
2727
${CMAKE_CURRENT_SOURCE_DIR}/src
2828
)
2929

30-
# Configure compilation flags and libraries for the example... see the corresponding function
31-
# in hw/bsp/FAMILY/family.cmake for details.
32-
family_configure_device_example(${PROJECT})
30+
# Configure compilation flags and libraries for the example without RTOS.
31+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
32+
family_configure_device_example(${PROJECT} noos)

examples/device/dynamic_configuration/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ target_include_directories(${PROJECT} PUBLIC
2828
${CMAKE_CURRENT_SOURCE_DIR}/src
2929
)
3030

31-
# Configure compilation flags and libraries for the example... see the corresponding function
32-
# in hw/bsp/FAMILY/family.cmake for details.
33-
family_configure_device_example(${PROJECT})
31+
# Configure compilation flags and libraries for the example without RTOS.
32+
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
33+
family_configure_device_example(${PROJECT} noos)

0 commit comments

Comments
 (0)