Skip to content

Commit 9211cb6

Browse files
Fix host build (#774)
* Fix host build * rp2040 fix
1 parent 68f1f83 commit 9211cb6

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

freertos/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ endif()
55

66
include(FreeRTOS_Kernel_import.cmake)
77

8-
add_subdirectory(hello_freertos)
8+
add_subdirectory_exclude_platforms(hello_freertos host)

low_power/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
add_subdirectory(low_power_sleep)
2-
add_subdirectory(low_power_dormant)
3-
if (NOT PICO_RP2040)
4-
add_subdirectory(low_power_pstate)
5-
endif()
1+
add_subdirectory_exclude_platforms(low_power_sleep host)
2+
add_subdirectory_exclude_platforms(low_power_dormant host)
3+
add_subdirectory_exclude_platforms(low_power_pstate host rp2040)

0 commit comments

Comments
 (0)