mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-06 21:08:50 +00:00
if using TLSF, reconfigure freertos to use heap_3 instead of heap5
This commit is contained in:
parent
fd2377ebc5
commit
dec0b92200
1 changed files with 4 additions and 1 deletions
|
@ -7,8 +7,11 @@ sdk_library_add_sources(tasks.c)
|
|||
sdk_library_add_sources(timers.c)
|
||||
sdk_library_add_sources(timers.c)
|
||||
sdk_library_add_sources(freertos_port.c)
|
||||
if(CONFIG_TLSF)
|
||||
sdk_library_add_sources(portable/MemMang/heap_3.c)
|
||||
else()
|
||||
sdk_library_add_sources(portable/MemMang/heap_5.c)
|
||||
|
||||
endif()
|
||||
sdk_add_include_directories(include)
|
||||
|
||||
if(("${CHIP}" STREQUAL "bl808") AND ("${CPU_ID}" STREQUAL "d0"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue