summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt
index 7718697b43..fae4cda756 100644
--- a/ports/rp2/CMakeLists.txt
+++ b/ports/rp2/CMakeLists.txt
@@ -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