move to espidf + arduino, this reduces flash size a shitload

This commit is contained in:
2026-01-16 12:08:11 +01:00
parent 86181c1439
commit f8c7e2a36d
6 changed files with 78 additions and 4 deletions

View File

@@ -6,7 +6,8 @@ platform = espressif32
upload_speed = 921600
monitor_speed = 115200
board = esp32dev
framework = arduino
framework = arduino, espidf
board_build.f_flash = 80000000L
board_build.partitions = maxapp.csv
build_flags =
-Wall
@@ -18,8 +19,8 @@ build_flags =
-ffunction-sections
-fdata-sections
-Wl,--gc-sections
-DARDUINO_LOOP_STACK_SIZE=4096
-Werror
-Wno-error=missing-field-initializers
monitor_filters =
esp32_exception_decoder
default