Skip to content

Commit 93380c0

Browse files
authored
RP2040: FreeRTOS-Kernel-Static use configKERNEL_PROVIDED_STATIC_MEMORY (#934)
Remove the idle_task_static_memory.c and use the new default implementations to allows for FreeRTOS-Kernel-Static to be used with configNUMBER_OF_CORES > 1
1 parent ec93432 commit 93380c0

File tree

2 files changed

+1
-53
lines changed

2 files changed

+1
-53
lines changed

portable/ThirdParty/GCC/RP2040/idle_task_static_memory.c

Lines changed: 0 additions & 52 deletions
This file was deleted.

portable/ThirdParty/GCC/RP2040/library.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ target_compile_definitions(FreeRTOS-Kernel INTERFACE
4646
add_library(FreeRTOS-Kernel-Static INTERFACE)
4747
target_compile_definitions(FreeRTOS-Kernel-Static INTERFACE
4848
configSUPPORT_STATIC_ALLOCATION=1
49+
configKERNEL_PROVIDED_STATIC_MEMORY=1
4950
)
5051

51-
target_sources(FreeRTOS-Kernel-Static INTERFACE ${CMAKE_CURRENT_LIST_DIR}/idle_task_static_memory.c)
5252
target_link_libraries(FreeRTOS-Kernel-Static INTERFACE FreeRTOS-Kernel)
5353

5454
add_library(FreeRTOS-Kernel-Heap1 INTERFACE)

0 commit comments

Comments
 (0)