diff --git a/platformio.ini b/platformio.ini index aa5ddb5b..d51d2a9a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1950,6 +1950,9 @@ lib_ignore = [env:esp32S3_4MB_S] ;; Use for HD-WF2 extends = esp32_4MB_V4_M_base +;; use standard espressif platform - tasmota platform seems to have problems when there is no PSRAM (sdkconfig.h file not found) +platform = ${esp32.platformV4} +platform_packages = ${esp32.platformV4_packages} board = esp32-s3-devkitc-1 build_unflags = -D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S3 (autodetect broken?) @@ -1981,6 +1984,9 @@ board_build.flash_mode = dio [env:esp32S3_8MB_M] extends = esp32_4MB_V4_M_base +;; use standard espressif platform - tasmota platform seems to have problems when there is no PSRAM (sdkconfig.h file not found) +platform = ${esp32.platformV4} +platform_packages = ${esp32.platformV4_packages} board = esp32-s3-devkitc-1 build_unflags = -D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S3 (autodetect broken?) @@ -2034,6 +2040,8 @@ board_build.flash_mode = qio ;; HUB75 supported, but may still hve pin conflicts [env:esp32S3_8MB_PSRAM_M] extends = esp32_4MB_V4_M_base +platform = ${esp32s3.platform} +platform_packages = ${esp32s3.platform_packages} board = esp32-s3-devkitc-1 ;; generic S3 dev board; the next line adds PSRAM support board_build.arduino.memory_type = qio_opi ;; use with PSRAM: 8MB or 16MB @@ -2078,6 +2086,9 @@ board_build.partitions = tools/WLED_ESP32_8MB.csv [env:esp32S3_8MB_S] ;; MM for ESP32-S3 boards - FASTPATH + optimize for speed; ; HUB75 support included (may still have pin conflicts) extends = esp32_4MB_V4_M_base +;; use standard espressif platform - tasmota platform seems to have problems when there is no PSRAM (sdkconfig.h file not found) +platform = ${esp32.platformV4} +platform_packages = ${esp32.platformV4_packages} board = esp32-s3-devkitc-1 ;; generic S3 dev board board_build.flash_mode = qio ;; use "dio" if your board gets unstable with "qio" build_unflags = ${env:esp32S3_8MB_M.build_unflags} ;; use the same as "normal" S3 buildenv @@ -2125,6 +2136,8 @@ board_build.partitions = tools/WLED_ESP32_8MB.csv ;; MOONHUB HUB75 adapter board [env:esp32S3_16MB_PSRAM_M_HUB75] extends = env:esp32S3_8MB_PSRAM_M +platform = ${esp32s3.platform} +platform_packages = ${esp32s3.platform_packages} board = lilygo-t7-s3 board_build.arduino.memory_type = qio_opi board_build.flash_mode = qio @@ -2173,6 +2186,12 @@ board_upload.maximum_size =16777216 ;; includes HUB75 and AnimArtix [env:esp32S3_WROOM-2_M] extends = env:esp32S3_8MB_PSRAM_M +;; tasmota platform +platform = ${esp32s3.platform} +platform_packages = ${esp32s3.platform_packages} +;; standard espressif platform +;; platform = ${esp32.platformV4} +;; platform_packages = ${esp32.platformV4_packages} board_build.flash_mode = dout ;; dummy value - bootloader will switch to "opi" board_build.arduino.memory_type = opi_opi board = esp32s3camlcd ;; this is the only standard board with "opi_opi" @@ -2219,6 +2238,8 @@ build_flags = ${env:esp32S3_WROOM-2_M.build_flags} ;; MM for esp32-s3 zero/supermini and lolin S3 mini boards - fastpath, optimize for speed [env:esp32S3_4MB_PSRAM_S] extends = env:esp32S3_8MB_S +platform = ${esp32s3.platform} +platform_packages = ${esp32s3.platform_packages} board = lolin_s3_mini ;; -S3 mini: 4MB flash 2MB PSRAM 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) ;; board_build.partitions = tools/WLED_ESP32_4MB_512KB_FS.csv ;; 1.7MB firmware, 500KB filesystem (esptool erase_flash needed when changing from "standard WLED" partitions) @@ -2264,6 +2285,8 @@ lib_ignore = ;; MM for esp32-s3 zero/supermini and lolin S3 mini boards - standard [env:esp32S3_4MB_PSRAM_M] extends = env:esp32S3_8MB_M +platform = ${esp32s3.platform} +platform_packages = ${esp32s3.platform_packages} board = lolin_s3_mini ;; -S3 mini: 4MB flash 2MB PSRAM board_build.partitions = ${esp32.default_partitions} build_unflags = ${common.build_unflags}