diff --git a/firmware/application/CMakeLists.txt b/firmware/application/CMakeLists.txt index f4190523..fee94a09 100644 --- a/firmware/application/CMakeLists.txt +++ b/firmware/application/CMakeLists.txt @@ -29,7 +29,7 @@ enable_language(C CXX ASM) project(application) # Compiler options here. -set(USE_OPT "-Os --specs=nano.specs") +set(USE_OPT "-Os -g --specs=nano.specs") # C specific options here (added to USE_OPT). set(USE_COPT "-std=gnu99") diff --git a/firmware/baseband/CMakeLists.txt b/firmware/baseband/CMakeLists.txt index 54010d73..2a8b1b53 100644 --- a/firmware/baseband/CMakeLists.txt +++ b/firmware/baseband/CMakeLists.txt @@ -29,7 +29,7 @@ enable_language(C CXX ASM) project(baseband_shared) # Compiler options here. -set(USE_OPT "-O3 -falign-functions=16 -fno-math-errno --specs=nano.specs") +set(USE_OPT "-O3 -g -falign-functions=16 -fno-math-errno --specs=nano.specs") # C specific options here (added to USE_OPT). set(USE_COPT "-std=gnu99") diff --git a/firmware/bootstrap/CMakeLists.txt b/firmware/bootstrap/CMakeLists.txt index 4c4d5a41..7f837998 100644 --- a/firmware/bootstrap/CMakeLists.txt +++ b/firmware/bootstrap/CMakeLists.txt @@ -29,7 +29,7 @@ enable_language(C CXX ASM) project(bootstrap) # Compiler options here. -set(USE_OPT "-Os -falign-functions=16 -fno-math-errno --specs=nano.specs") +set(USE_OPT "-Os -g -falign-functions=16 -fno-math-errno --specs=nano.specs") # C specific options here (added to USE_OPT). set(USE_COPT "-std=gnu99")