feat(f4): more free memory on handsets with CCM RAM (#5804)
Alternative Lua memory allocator for radios with CCM RAM - primarily GX12 at present
This commit is contained in:
@@ -531,8 +531,8 @@ if(SDRAM)
|
||||
message("Target has SDRAM, do not use BIN_ALLOCATOR")
|
||||
else()
|
||||
# Nano's malloc does work well with lua, use our own
|
||||
add_definitions(-DUSE_BIN_ALLOCATOR)
|
||||
set(SRC ${SRC} bin_allocator.cpp)
|
||||
add_definitions(-DUSE_CUSTOM_ALLOCATOR)
|
||||
set(SRC ${SRC} lua/custom_allocator.cpp)
|
||||
endif()
|
||||
|
||||
# Bootloader
|
||||
|
||||
Reference in New Issue
Block a user