mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
Fix Pico-SDK aggressive optimization breaking OTA
This commit is contained in:
1 parent
ef8e7419fa
commit
eb5752f41b
6 files changed
+20
-2
No files matched your search
@@ -17,3 +17,6 @@ pico_add_extra_outputs(firmware) # create map/bin/hex file etc.
|
||||
|
||||
pico_enable_stdio_usb(firmware 1) # Route stdio
|
||||
pico_enable_stdio_uart(firmware 0) # to USB
|
||||
|
||||
# Prevent extreme optimization from breaking OTA
|
||||
target_compile_options(firmware PRIVATE -fno-tree-loop-distribute-patterns)
|
||||
Reference in new issue
Block a user