[PlatformIO] Fix upload size for 16M boards, causing bootloops

Also got rid of some warnings about unhandled boot causes for ESP32-S2

Set the CPU frequency for "solo" boards to 80MHz
This commit is contained in:
TD-er
2022-06-29 12:21:25 +02:00
parent 853869cd60
commit 6eefb891e2
6 changed files with 13 additions and 8 deletions
-2
View File
@@ -82,7 +82,6 @@ check_flags = ${debug_pio.check_flags}
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags} ${debug_pio.build_flags} -DPLUGIN_BUILD_CUSTOM
board = esp32_16M8M
board_upload.maximum_size = 4194304
extra_scripts = ${esp32_common.extra_scripts}
pre:tools/pio/pre_custom_esp32.py
@@ -93,7 +92,6 @@ check_tool = ${debug_pio.check_tool}
check_flags = ${debug_pio.check_flags}
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
board_upload.maximum_size = 4194304
build_flags = ${esp32_base.build_flags}
${debug_pio.build_flags}
-DUSE_LITTLEFS