From d5eee5b56c37fd12a0f8d7e64a3d0e13c6f1af4a Mon Sep 17 00:00:00 2001 From: JPZV <38300410+JPZV@users.noreply.github.com> Date: Fri, 25 Nov 2022 19:49:49 -0300 Subject: [PATCH] Fixes platformio.ini for the ESP32 S3 (#2905) * Update missing package for ESP32-S3 There was a missing package version for env:esp32s3dev_8MB. platformio/framework-arduinoespressif32@3.20004.220825 doesn't exist any more * Fixes Compiling error for ESP32 S3 with octal (qspi_opi) memory mode For details: platformio/platform-espressif32#912 and platformio/platform-espressif32#914 * Added env:esp32s3dev_8MB_PSRAM to platformio.ini Also, reverted back to espressif32@5.1.1 for env:esp32s3dev_8MB * small maintainer edit Co-authored-by: Frank <91616163+softhack007@users.noreply.github.com> --- platformio.ini | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index ee68b263f..3d4a83264 100644 --- a/platformio.ini +++ b/platformio.ini @@ -399,10 +399,10 @@ build_unflags = ${common.build_unflags} lib_deps = ${esp32c3.lib_deps} [env:esp32s3dev_8MB] -;; ESP32-S3-DevKitC-1 development board, with 8MB FLASH, no PSRAM +;; ESP32-S3-DevKitC-1 development board, with 8MB FLASH, no PSRAM (flash_mode = qio) board = esp32-s3-devkitc-1 platform = espressif32@5.1.1 -platform_packages = platformio/framework-arduinoespressif32@3.20004.220825 +platform_packages = upload_speed = 921600 build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} ${esp32s3.build_flags} -D CONFIG_LITTLEFS_FOR_IDF_3_2 -D WLED_WATCHDOG_TIMEOUT=0 -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=0 -D ARDUINO_USB_MSC_ON_BOOT=0 @@ -412,6 +412,23 @@ board_build.f_flash = 80000000L board_build.flash_mode = qio monitor_filters = esp32_exception_decoder +[env:esp32s3dev_8MB_PSRAM] +;; ESP32-TinyS3 development board, with 8MB FLASH and 8MB PSRAM (memory_type = qspi_opi) +board = esp32-tinys3 +platform = espressif32@5.2.0 +platform_packages = +upload_speed = 921600 +build_unflags = ${common.build_unflags} +build_flags = ${common.build_flags} ${esp32s3.build_flags} + -D CONFIG_LITTLEFS_FOR_IDF_3_2 -D WLED_WATCHDOG_TIMEOUT=0 -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=0 -D ARDUINO_USB_MSC_ON_BOOT=0 + ; -D WLED_RELEASE_NAME=ESP32-S3_PSRAM + -D WLED_USE_PSRAM +lib_deps = ${esp32s3.lib_deps} +board_build.partitions = tools/WLED_ESP32_8MB.csv +board_build.f_flash = 80000000L +board_build.flash_mode = qio +monitor_filters = esp32_exception_decoder + [env:esp8285_4CH_MagicHome] board = esp8285 platform = ${common.platform_wled_default}