Fix Pico-SDK aggressive optimization breaking OTA

This commit is contained in:
Sergio R. Caprile committed 2025-02-06 10:27:13 -03:00
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)