mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 12:24:07 -04:00
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
This commit is contained in:
parent
ec93432a59
commit
93380c02a1
2 changed files with 1 additions and 53 deletions
2
portable/ThirdParty/GCC/RP2040/library.cmake
vendored
2
portable/ThirdParty/GCC/RP2040/library.cmake
vendored
|
@ -46,9 +46,9 @@ target_compile_definitions(FreeRTOS-Kernel INTERFACE
|
|||
add_library(FreeRTOS-Kernel-Static INTERFACE)
|
||||
target_compile_definitions(FreeRTOS-Kernel-Static INTERFACE
|
||||
configSUPPORT_STATIC_ALLOCATION=1
|
||||
configKERNEL_PROVIDED_STATIC_MEMORY=1
|
||||
)
|
||||
|
||||
target_sources(FreeRTOS-Kernel-Static INTERFACE ${CMAKE_CURRENT_LIST_DIR}/idle_task_static_memory.c)
|
||||
target_link_libraries(FreeRTOS-Kernel-Static INTERFACE FreeRTOS-Kernel)
|
||||
|
||||
add_library(FreeRTOS-Kernel-Heap1 INTERFACE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue