kopia lustrzana https://github.com/micropython/micropython
Merge b7a897827f
into 01c31ea804
commit
2029d98882
|
@ -454,6 +454,15 @@ target_link_options(${MICROPY_TARGET} PRIVATE
|
|||
-Wl,--defsym=__micropy_c_heap_size__=${MICROPY_C_HEAP_SIZE}
|
||||
-Wl,--wrap=dcd_event_handler
|
||||
)
|
||||
# Do not include stack unwinding & exception handling for C++ user modules
|
||||
target_compile_definitions(usermod INTERFACE PICO_CXX_ENABLE_EXCEPTIONS=0)
|
||||
target_compile_options(usermod INTERFACE $<$<COMPILE_LANGUAGE:CXX>:
|
||||
-fno-exceptions
|
||||
-fno-unwind-tables
|
||||
-fno-rtti
|
||||
-fno-use-cxa-atexit
|
||||
>)
|
||||
target_link_options(usermod INTERFACE -specs=nano.specs)
|
||||
|
||||
set_source_files_properties(
|
||||
${PICO_SDK_PATH}/src/rp2_common/pico_double/double_math.c
|
||||
|
|
Ładowanie…
Reference in New Issue