mirror of
https://github.com/thelsing/knx.git
synced 2025-08-26 13:51:28 +02:00
Optimize a bit more in debug build config as the binary does not fit into 128Kb flash otherwise.
This commit is contained in:
parent
2642e490ae
commit
809ac01795
@ -92,8 +92,8 @@ set(CMAKE_EXE_LINKER_FLAGS "-Wl,--gc-sections --specs=nano.specs --specs=nosys.s
|
|||||||
# Options for DEBUG build
|
# Options for DEBUG build
|
||||||
# -Og Enables optimizations that do not interfere with debugging.
|
# -Og Enables optimizations that do not interfere with debugging.
|
||||||
# -g Produce debugging information in the operating system’s native format.
|
# -g Produce debugging information in the operating system’s native format.
|
||||||
set(CMAKE_C_FLAGS_DEBUG "-O0 -g -gstrict-dwarf" CACHE INTERNAL "C Compiler options for debug build type")
|
set(CMAKE_C_FLAGS_DEBUG "-Og -g -gstrict-dwarf" CACHE INTERNAL "C Compiler options for debug build type")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -gstrict-dwarf" CACHE INTERNAL "C++ Compiler options for debug build type")
|
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g -gstrict-dwarf" CACHE INTERNAL "C++ Compiler options for debug build type")
|
||||||
set(CMAKE_ASM_FLAGS_DEBUG "-g -gstrict-dwarf" CACHE INTERNAL "ASM Compiler options for debug build type")
|
set(CMAKE_ASM_FLAGS_DEBUG "-g -gstrict-dwarf" CACHE INTERNAL "ASM Compiler options for debug build type")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "" CACHE INTERNAL "Linker options for debug build type")
|
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "" CACHE INTERNAL "Linker options for debug build type")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user