File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt
2
- index 094031c6852a..5f268414c08f 100644
2
+ index 281b0c3bc..7e04bb549 100644
3
3
--- a/ports/rp2/CMakeLists.txt
4
4
+++ b/ports/rp2/CMakeLists.txt
5
- @@ -374,6 +374,15 @@ target_compile_options(${MICROPY_TARGET} PRIVATE
6
- target_link_options(${MICROPY_TARGET} PRIVATE
7
- -Wl,--defsym=__micropy_c_heap_size__=${MICROPY_C_HEAP_SIZE}
5
+ @@ -453,6 +453,16 @@ target_link_options(${MICROPY_TARGET} PRIVATE
6
+ -Wl,--wrap=dcd_event_handler
8
7
)
8
+
9
9
+ # Do not include stack unwinding & exception handling for C++ user modules
10
10
+ target_compile_definitions(usermod INTERFACE PICO_CXX_ENABLE_EXCEPTIONS=0)
11
11
+ target_compile_options(usermod INTERFACE $<$<COMPILE_LANGUAGE:CXX>:
@@ -15,6 +15,7 @@ index 094031c6852a..5f268414c08f 100644
15
15
+ -fno-use-cxa-atexit
16
16
+ >)
17
17
+ target_link_options(usermod INTERFACE -specs=nano.specs)
18
-
18
+ +
19
19
set_source_files_properties(
20
20
${PICO_SDK_PATH}/src/rp2_common/pico_double/double_math.c
21
+ ${PICO_SDK_PATH}/src/rp2_common/pico_float/float_math.c
You can’t perform that action at this time.
0 commit comments