adding esp32-S3 build with qspi support, and minor cleanup
* added esp32S3_8MB_PSRAM_M_qspi * minor cleanup of default buildenv list * rename esp32S3_8MB_PSRAM_M => esp32S3_8MB_PSRAM_M_opi, added esp32S3_8MB_PSRAM_M as alias
This commit is contained in:
@@ -73,52 +73,65 @@ default_envs =
|
||||
; wemos_shield_esp32_16MB_SPM1423_XL
|
||||
; wemos_shield_esp32_16MB_LineIn_M
|
||||
;;
|
||||
esp32_4MB_V4_M ;; esp32 4MB standard - HUB75 not included
|
||||
;;
|
||||
;; === classic esp32 ===
|
||||
esp32dev_compat ;; legacy
|
||||
esp32_4MB_V4_M ;; esp32 4MB standard - HUB75 not included
|
||||
esp32_pico_4MB_V4_S ;; PICO D4 board
|
||||
esp32_4MB_V4_S ;; without HUB75 driver - might work better with I2S microphones
|
||||
esp32_4MB_V4_S_HUB75 ;; esp32 4MB - HUB75 supported
|
||||
esp32_4MB_V4_HUB75_forum ;; esp32 4MB - HUB75 supported (forum pinout)
|
||||
esp32_4MB_V4_S ;; without HUB75 driver - might work better with I2S microphones
|
||||
;; classic esp32 with ethernet
|
||||
esp32_4MB_M_eth ;; esp32 4MB with ethernet support
|
||||
esp32_4MB_V4_S_eth ;; esp32 4MB "V4" build with ethernet support
|
||||
; esp32_4MB_PSRAM_REV3_S ;; WROVER-E experimental, optimized for WROVER-E with "revision3" chip
|
||||
esp32_16MB_V4_M_eth ;; esp32 16MB "V4" build with ethernet support
|
||||
;; classic esp32 with PSRAM
|
||||
esp32_4MB_PSRAM_S ;; esp32 WROVER with PSRAM; HUB75 supported
|
||||
; esp32_4MB_PSRAM_REV3_S ;; WROVER-E experimental, optimized for WROVER-E with "revision3" chip
|
||||
;; classic esp32 16MB flash
|
||||
esp32_16MB_V4_S ;; esp32 16MB - without HUB75 driver, optimized for speed
|
||||
esp32_16MB_V4_M ;; esp32 16MB - without HUB75 driver
|
||||
esp32_16MB_V4_S_HUB75 ;; esp32 16MB - HUB75 supported, optimized for speed
|
||||
; esp32_16MB_V4_M_HUB75 ;; esp32 16MB - HUB75 supported
|
||||
esp32_16MB_V4_M_debug ;; esp32 16MB - for out-of-the-box debugging
|
||||
;;
|
||||
;; === esp32-S3 === with 4MB flash
|
||||
esp32S3_4MB_S ;; experimental, for HD-WF2 (HUB75 supported)
|
||||
esp32S3_8MB_S ;; experimental, optimized for speed, HUB75 supported
|
||||
;; esp32S3_8MB_M ;; HUB75 supported
|
||||
esp32S3_4MB_PSRAM_S ;; for lolin s3 mini, S3 zero, S3 super mini - optimized for speed (no HUB75 support)
|
||||
esp32S3_4MB_PSRAM_M ;; for lolin s3 mini, S3 zero, S3 super mini (no HUB75 support)
|
||||
esp32S3_8MB_PSRAM_M ;; for S3 with 8MB flash, HUB75 supported
|
||||
;; === esp32-S3 === with 8MB flash
|
||||
esp32S3_8MB_S ;; experimental, optimized for speed, HUB75 supported
|
||||
;; esp32S3_8MB_M ;; HUB75 supported
|
||||
esp32S3_8MB_PSRAM_M_qspi ;; for S3 with 8MB flash, 2 or 4MB PSRAM, HUB75 supported
|
||||
esp32S3_8MB_PSRAM_M_opi ;; for S3 with 8MB flash, 8 or 16MB PSRAM, HUB75 supported
|
||||
;; === esp32-S3 === with 16MB flash
|
||||
esp32S3_16MB_PSRAM_M_HUB75 ;; for S3 with 16MB flash, HUB75 supported (MOONHUB HUB75 adapter board)
|
||||
esp32S3_WROOM-2_M ;; for S3 WROOM-2; HUB75 supported
|
||||
;;
|
||||
;; === esp32-S2 boards ===
|
||||
esp32s2_PSRAM_S ;; OTA-compatible with upstream
|
||||
esp32s2_PSRAM_M ;; for lolin S2 mini
|
||||
;; esp32s2_tinyUF2_PSRAM_S ;; experimental - only for adafruit -S2 boards with tinyUF2 bootloader !!!
|
||||
;;
|
||||
;; === esp32-C3 boards ===
|
||||
esp32c3dev_2MB_M ;; experimental - 2MB Flash, no OTA
|
||||
esp32c3dev_4MB_M ;; experimental
|
||||
esp32c3mini_dio_4MB_M ;; for boards that need "dio" flash mode (instead of qio)
|
||||
;; seeed_esp32c3_4MB_S ;; experimental
|
||||
;;
|
||||
;; === 8266 boards == deprecated!
|
||||
esp8266_2MB_S
|
||||
esp8266_4MB_S ;; recommended for 8266 with audio sync
|
||||
esp8266_4MB_M
|
||||
;; esp8266_4MB_M
|
||||
; esp8266pro_16MB_S
|
||||
esp8266pro_16MB_M
|
||||
esp01_1MB_S
|
||||
;;
|
||||
;; special boards
|
||||
;; === special boards ===
|
||||
abc_wled_controller_v43_V4_S
|
||||
athom_music_esp32_4MB_V4_M
|
||||
adafruit_matrixportal_esp32s3 ;; HUB75 supported, uses standard bootloader
|
||||
adafruit_matrixportal_esp32s3 ;; HUB75 supported, uses standard WLED bootloader
|
||||
; adafruit_matrixportal_esp32s3_tinyUF2 ;; supports the adafruit "tinyUF2" bootloader
|
||||
; seeed_esp32c3_4MB_S ;; experimental
|
||||
|
||||
; Go to MoonModules environments for environments
|
||||
|
||||
@@ -2350,7 +2363,7 @@ board_build.flash_mode = qio
|
||||
|
||||
;; MM for ESP32-S3 PSRAM development board, with 8MB FLASH and >= 8MB PSRAM (memory_type: qio_opi)
|
||||
;; HUB75 supported, but may still hve pin conflicts
|
||||
[env:esp32S3_8MB_PSRAM_M]
|
||||
[env:esp32S3_8MB_PSRAM_M_opi]
|
||||
extends = esp32_4MB_V4_M_base
|
||||
;; we have enough flash - use standard espressif platform instead of tasmota
|
||||
platform = ${esp32.platformV4}
|
||||
@@ -2367,7 +2380,7 @@ build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-inden
|
||||
${common_mm.HUB75_build_flags}
|
||||
-DBOARD_HAS_PSRAM ;; -D WLED_USE_PSRAM ;; your board supports PSRAM
|
||||
-D WLED_USE_PSRAM_JSON -DALL_JSON_TO_PSRAM ; WLEDMM --> force all JSON stuff into PSRAM; gives more free heap
|
||||
-D WLED_RELEASE_NAME=esp32S3_8MB_PSRAM_M
|
||||
-D WLED_RELEASE_NAME=esp32S3_8MB_PSRAM_M_opi
|
||||
-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 ;; for Serial-to-USB chip
|
||||
;;-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=1 ;; for Hardware-CDC USB mode
|
||||
;;-D WLED_DISABLE_ADALIGHT ;; disables serial protocols - recommended for Hardware-CDC USB (Serial RX will receive junk commands when RX pin is unconnected, unless its pulled down by resistor)
|
||||
@@ -2399,6 +2412,19 @@ board_build.partitions = tools/WLED_ESP32_8MB.csv
|
||||
; RAM: [== ] 21.1% (used 69156 bytes from 327680 bytes)
|
||||
; Flash: [======== ] 75.9% (used 1591817 bytes from 2097152 bytes)
|
||||
|
||||
[env:esp32S3_8MB_PSRAM_M_qspi] ;; for qspi PSRAM mode
|
||||
extends = env:esp32S3_8MB_PSRAM_M_opi
|
||||
;; we simply replace the build name and memory mode
|
||||
board_build.arduino.memory_type = qio_qspi ;; use with PSRAM: 2MB or 4MB
|
||||
board_build.flash_mode = qio ;; use "dio" if your board gets unstable with "qio"; also change then previous lines accordingly (memory_type)
|
||||
build_unflags = ${env:esp32S3_8MB_M.build_unflags}
|
||||
-D WLED_RELEASE_NAME=esp32S3_8MB_PSRAM_M_opi
|
||||
build_flags = ${env:esp32S3_8MB_PSRAM_M_opi.build_flags}
|
||||
-D WLED_RELEASE_NAME=esp32S3_8MB_PSRAM_M_qspi
|
||||
|
||||
[env:esp32S3_8MB_PSRAM_M] ;; legacy alias
|
||||
extends = env:esp32S3_8MB_PSRAM_M_opi
|
||||
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user