mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +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
@@ -30,3 +30,6 @@ add_definitions(-DHTTP_URL="http://0.0.0.0/")
|
||||
|
||||
# Extra build flags (enable if needed)
|
||||
add_definitions(-DDUAL_CONFIG=0)
|
||||
|
||||
# Prevent extreme optimization from breaking OTA
|
||||
target_compile_options(firmware PRIVATE -fno-tree-loop-distribute-patterns)
|
||||
Reference in new issue
Block a user