[ai] further memory optimizations
This commit is contained in:
@@ -20,8 +20,9 @@ lib_deps =
|
||||
bblanchon/ArduinoJson@^6.21.3
|
||||
monitor_speed = 115200
|
||||
build_flags =
|
||||
-Os ; Optimize for size
|
||||
; -DCORE_DEBUG_LEVEL=0 ; Disable all debug output
|
||||
-Os ; Optimize for size
|
||||
; -DDEBUG ; Hannabox Debugging
|
||||
-DCORE_DEBUG_LEVEL=0 ; Disable all debug output
|
||||
-DARDUINO_LOOP_STACK_SIZE=3072 ; Further reduce from 4096
|
||||
-DWIFI_TASK_STACK_SIZE=3072 ; Reduce WiFi task stack
|
||||
-DARDUINO_EVENT_TASK_STACK_SIZE=2048 ; Reduce event task stack
|
||||
|
||||
Reference in New Issue
Block a user