diff --git a/platformio.ini b/platformio.ini index 208f16e2..09a337f7 100644 --- a/platformio.ini +++ b/platformio.ini @@ -34,10 +34,7 @@ lib_deps = https://github.com/PBrunot/LiquidCrystal.git#use_const ArduinoOTA build_unflags = -std=gnu++11 -fexceptions build_flags = -std=gnu++2b - -ffunction-sections - -fdata-sections -g3 - -fno-exceptions -Os -I conf -Wno-deprecated-declarations @@ -49,7 +46,7 @@ build_src_flags = -Wformat=2 -Wformat-truncation -Wall -Wextra - -Wl,-Map,firmware.map,--cref,--no-warn-rwx-segments + -Wl,-Map,firmware.map,--cref -Wstack-usage=2048 -D LOG_LOCAL_LEVEL=ESP_LOG_VERBOSE -D FABOMATIC_BUILD="\"$PIOENV\""