Commit d81cf0b9 authored by Angus Gratton's avatar Angus Gratton Committed by Damien George

rp2/CMakeLists: Enable debug symbols in all builds.

Allows using gdb, addr2line, etc. on a "release" ELF file.

No impact to .bin or .uf2 size, only the .elf will get bigger.

This work was funded through GitHub Sponsors.
Signed-off-by: default avatarAngus Gratton <angus@redyak.com.au>
parent 040a96d0
......@@ -406,6 +406,7 @@ target_include_directories(${MICROPY_TARGET} PRIVATE
target_compile_options(${MICROPY_TARGET} PRIVATE
-Wall
-Werror
-g # always include debug information in the ELF
)
target_link_options(${MICROPY_TARGET} PRIVATE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment