Skip to content

Commit aa54d65

Browse files
committed
upgrade -S3/-S2/-C3 to platform 5.3.0
platform 5.3.0 = arduino-esp32 v2.0.6 + esp-idf v4.4.3 --> you will need new bootloader files for arduino-esp32 v2.0.6 --> coredumps are supported now, if you leave 64Kb of flash at the end of your partitions file (see example in wled_esp32_8MB.csv)
1 parent 8ccf349 commit aa54d65

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

platformio.ini

+4-8
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,8 @@ lib_deps =
249249
;;
250250
;; please note that you can NOT update existing ESP32 installs with a "V4" build. Also updating by OTA will not work properly.
251251
;; You need to completely erase your device (esptool erase_flash) first, then install the "V4" build from VSCode+platformio.
252-
platform = espressif32@5.2.0
252+
platform = espressif32@5.3.0
253253
platform_packages =
254-
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 ; required for platform version < 5.3.0, remove this line when upgrading to platform >=5.3.0
255254
build_flags = -g
256255
-Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one
257256
-DARDUINO_ARCH_ESP32 -DESP32
@@ -265,9 +264,8 @@ lib_deps =
265264

266265
[esp32s2]
267266
;; generic definitions for all ESP32-S2 boards
268-
platform = espressif32@5.2.0
267+
platform = espressif32@5.3.0
269268
platform_packages =
270-
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 ; required for platform version < 5.3.0, remove this line when upgrading to platform >=5.3.0
271269
build_flags = -g
272270
-DARDUINO_ARCH_ESP32
273271
-DARDUINO_ARCH_ESP32S2
@@ -285,9 +283,8 @@ lib_deps =
285283

286284
[esp32c3]
287285
;; generic definitions for all ESP32-C3 boards
288-
platform = espressif32@5.2.0
286+
platform = espressif32@5.3.0
289287
platform_packages =
290-
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 ; required for platform version < 5.3.0, remove this line when upgrading to platform >=5.3.0
291288
build_flags = -g
292289
-DARDUINO_ARCH_ESP32
293290
-DARDUINO_ARCH_ESP32C3
@@ -304,9 +301,8 @@ lib_deps =
304301

305302
[esp32s3]
306303
;; generic definitions for all ESP32-S3 boards
307-
platform = espressif32@5.2.0
304+
platform = espressif32@5.3.0
308305
platform_packages =
309-
toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 ; required for platform version < 5.3.0, remove this line when upgrading to platform >=5.3.0
310306
build_flags = -g
311307
-DESP32
312308
-DARDUINO_ARCH_ESP32

tools/WLED_ESP32_16MB_9MB_FS.csv

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x300000,
5+
app1, app, ota_1, 0x310000,0x300000,
6+
spiffs, data, spiffs, 0x610000,0x9E0000,
7+
coredump, data, coredump,,64K
8+
# to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage

tools/WLED_ESP32_8MB.csv

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ nvs, data, nvs, 0x9000, 0x5000,
33
otadata, data, ota, 0xe000, 0x2000,
44
app0, app, ota_0, 0x10000, 0x200000,
55
app1, app, ota_1, 0x210000,0x200000,
6-
spiffs, data, spiffs, 0x410000,0x3F0000,
6+
spiffs, data, spiffs, 0x410000,0x3E0000,
7+
coredump, data, coredump,,64K

0 commit comments

Comments
 (0)