Skip to content

Commit bfee1a8

Browse files
committed
-S2: back to platform 5.2.0
- massive connectivity problems with 5.3.0 - almost 10% more free heap with 5.2.0
1 parent c574f68 commit bfee1a8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

platformio.ini

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,10 @@ lib_deps =
368368

369369
[esp32s2]
370370
;; generic definitions for all ESP32-S2 boards
371-
platform = espressif32@5.3.0
371+
platform = espressif32@5.2.0
372372
platform_packages =
373+
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
374+
toolchain-xtensa-esp32s2 @ 8.4.0+2021r2-patch5
373375
build_flags = -g
374376
-DARDUINO_ARCH_ESP32 -DESP32 -DS2XSHIT ;; WLEDMM
375377
-DARDUINO_ARCH_ESP32S2
@@ -1812,8 +1814,8 @@ board_build.partitions = tools/WLED_ESP32_8MB.csv
18121814
;; to ewowi - i'll optimize this entry later, as a few things can be inherited for sure. To softhack: sure ;-)
18131815
[env:esp32s2_tinyUF2_PSRAM_S]
18141816
extends = esp32_4MB_V4_S_base
1815-
platform = ${esp32.platformV4}
1816-
platform_packages = ${esp32.platformV4_packages}
1817+
platform = ${esp32s2.platform} ;; using 5.2.0, due to massive connectivity problems on -S2 with 5.3.0
1818+
platform_packages = ${esp32s2.platform_packages}
18171819

18181820
board = adafruit_qtpy_esp32s2
18191821
board_build.partitions = tools/partitions-4MB_spiffs-tinyuf2.csv ;; this is needed for tinyUF2 bootloader! Filename has to end in "tinyuf2.csv"
@@ -1866,8 +1868,8 @@ monitor_filters = esp32_exception_decoder
18661868
;; PINs assignments optimized for use with serg74 "mini shield"
18671869
[env:esp32s2_PSRAM_M]
18681870
extends = esp32_4MB_V4_M_base
1869-
platform = ${esp32.platformV4} ;; more stable on -S2 than 5.1.1
1870-
platform_packages = ${esp32.platformV4_packages}
1871+
platform = ${esp32s2.platform} ;; using 5.2.0, due to massive connectivity problems on -S2 with 5.3.0
1872+
platform_packages = ${esp32s2.platform_packages}
18711873

18721874
board = lolin_s2_mini
18731875
board_build.partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; 1.8MB firmware, 256KB filesystem (esptool erase_flash needed when changing from "standard WLED" partitions)

0 commit comments

Comments
 (0)