Skip to content

Commit 4dd7652

Browse files
committed
CI: Update MicroPython patch for v1.22.1.
1 parent 3bac13f commit 4dd7652

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt
2-
index 094031c6852a..5f268414c08f 100644
2+
index 281b0c3bc..7e04bb549 100644
33
--- a/ports/rp2/CMakeLists.txt
44
+++ 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
87
)
8+
99
+# Do not include stack unwinding & exception handling for C++ user modules
1010
+target_compile_definitions(usermod INTERFACE PICO_CXX_ENABLE_EXCEPTIONS=0)
1111
+target_compile_options(usermod INTERFACE $<$<COMPILE_LANGUAGE:CXX>:
@@ -15,6 +15,7 @@ index 094031c6852a..5f268414c08f 100644
1515
+ -fno-use-cxa-atexit
1616
+>)
1717
+target_link_options(usermod INTERFACE -specs=nano.specs)
18-
18+
+
1919
set_source_files_properties(
2020
${PICO_SDK_PATH}/src/rp2_common/pico_double/double_math.c
21+
${PICO_SDK_PATH}/src/rp2_common/pico_float/float_math.c

0 commit comments

Comments
 (0)