Disable NANO for good
Causing lots of troubles with probably stack overflow on start.
This commit is contained in:
@@ -45,7 +45,7 @@ option(TRACE_SIMPGMSPACE "Turn on traces in simpgmspace.cpp" ON)
|
|||||||
option(TRACE_LUA_INTERNALS "Turn on traces for Lua internals" OFF)
|
option(TRACE_LUA_INTERNALS "Turn on traces for Lua internals" OFF)
|
||||||
option(DEBUG_WINDOWS "Turn on windows traces" OFF)
|
option(DEBUG_WINDOWS "Turn on windows traces" OFF)
|
||||||
option(FRSKY_STICKS "Reverse sticks for FrSky sticks" OFF)
|
option(FRSKY_STICKS "Reverse sticks for FrSky sticks" OFF)
|
||||||
option(NANO "Use nano newlib and binalloc")
|
option(NANO "Use nano newlib and binalloc" OFF)
|
||||||
option(TEST_BUILD_WARNING "Warn this is a test build" OFF)
|
option(TEST_BUILD_WARNING "Warn this is a test build" OFF)
|
||||||
option(MODULE_PROTOCOL_FCC "Add support for FCC modules" ON)
|
option(MODULE_PROTOCOL_FCC "Add support for FCC modules" ON)
|
||||||
option(MODULE_PROTOCOL_LBT "Add support for EU/LBT modules" ON)
|
option(MODULE_PROTOCOL_LBT "Add support for EU/LBT modules" ON)
|
||||||
@@ -538,7 +538,7 @@ if(NOT MSVC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Use newlib nano, which saves a few kilobytes.
|
# Use newlib nano, which saves a few kilobytes.
|
||||||
if(NOT NANO STREQUAL NO)
|
if(NANO)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --specs=nano.specs")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --specs=nano.specs")
|
||||||
if(NOT LUA STREQUAL NO)
|
if(NOT LUA STREQUAL NO)
|
||||||
# Lua needs %g and %f
|
# Lua needs %g and %f
|
||||||
|
|||||||
Reference in New Issue
Block a user