added mdev PIO env for V4 Framwork
- ESP32 with PSRAM - ESP32-S3
This commit is contained in:
102
platformio.ini
102
platformio.ini
@@ -12,7 +12,7 @@
|
||||
; default_envs = travis_esp8266, travis_esp32
|
||||
|
||||
# Release binaries
|
||||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3
|
||||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3dev, esp32s3dev_8MB
|
||||
|
||||
# Build everything
|
||||
; default_envs = esp32dev, esp8285_4CH_MagicHome, codm-controller-0.6-rev2, codm-controller-0.6, esp32s2_saola, d1_mini_5CH_Shojo_PCB, d1_mini, sp501e, travis_esp8266, travis_esp32, nodemcuv2, esp32_eth, anavi_miracle_controller, esp07, esp01_1m_full, m5atom, h803wf, d1_mini_ota, heltec_wifi_kit_8, esp8285_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
|
||||
@@ -32,6 +32,8 @@ default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s
|
||||
; default_envs = esp8285_4CH_MagicHome
|
||||
; default_envs = esp8285_H801
|
||||
; default_envs = d1_mini_5CH_Shojo_PCB
|
||||
; default_envs = esp32mdev_PSRAM
|
||||
; default_envs = esp32s3-mdev
|
||||
; default_envs = wemos_shield_esp32
|
||||
; default_envs = m5atom
|
||||
; default_envs = esp32_eth
|
||||
@@ -226,6 +228,16 @@ lib_deps =
|
||||
makuna/NeoPixelBus @ 2.6.9
|
||||
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
||||
|
||||
build_flagsV4 = -g
|
||||
-DARDUINO_ARCH_ESP32
|
||||
-DCONFIG_LITTLEFS_FOR_IDF_3_2
|
||||
-D CONFIG_ASYNC_TCP_USE_WDT=0
|
||||
lib_depsV4 =
|
||||
${env.lib_deps}
|
||||
;makuna/NeoPixelBus @ 2.6.9
|
||||
https://github.com/Makuna/NeoPixelBus.git#master @ 2.7.0 ;; NPB 2.6.9 tends to crash whith IDF V4.4.3 -> use latest NeoPixelBus dev version instead
|
||||
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
||||
|
||||
[esp32s2]
|
||||
build_flags = -g
|
||||
-DARDUINO_ARCH_ESP32
|
||||
@@ -382,11 +394,13 @@ upload_speed = 460800
|
||||
build_unflags = ${common.build_unflags}
|
||||
lib_deps = ${esp32s2.lib_deps}
|
||||
|
||||
[env:esp32c3]
|
||||
[env:esp32c3dev]
|
||||
board = esp32-c3-devkitm-1
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.2/platform-tasmota-espressif32-2.0.2.zip
|
||||
platform_packages =
|
||||
framework = arduino
|
||||
build_flags = ${common.build_flags} ${esp32c3.build_flags}
|
||||
-D CONFIG_LITTLEFS_FOR_IDF_3_2 -D WLED_WATCHDOG_TIMEOUT=0
|
||||
board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
|
||||
upload_speed = 460800
|
||||
build_unflags = ${common.build_unflags}
|
||||
@@ -397,6 +411,7 @@ lib_deps = ${esp32c3.lib_deps}
|
||||
board = esp32-s3-devkitc-1
|
||||
platform = espressif32@5.1.1
|
||||
platform_packages = platformio/framework-arduinoespressif32@3.20004.220825
|
||||
framework = arduino
|
||||
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
|
||||
@@ -491,6 +506,89 @@ build_flags = ${common.build_flags} ${esp32s2.build_flags} #-D WLED_RELEASE_NAME
|
||||
; -D STATUSLED=15
|
||||
lib_deps = ${esp32s2.lib_deps}
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# MoonModules configs for IDF V4.4.x
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
;; experiemtal environment for boards with PSRAM.
|
||||
;; Warning: the build-in LittleFS seems to be "slightly different" from Lorol LittleFS.
|
||||
;; When upgrading to the new framework, it might be necessary to first do a chip erase (make sure you have a backup of cfg.json and presets.json)
|
||||
;; also SpiffsEditor (Async Webserver) has known problems in IDF4.4.x
|
||||
[env:esp32mdev_PSRAM]
|
||||
board = lolin_d32_pro
|
||||
;board = esp32cam
|
||||
; platform = ${esp32.platform}
|
||||
; platform_packages = ${esp32.platform_packages}
|
||||
platform = espressif32@5.1.1
|
||||
platform_packages = platformio/framework-arduinoespressif32@3.20004.220825
|
||||
framework = arduino
|
||||
|
||||
upload_speed = 460800 ; or 921600
|
||||
build_unflags = ${common.build_unflags}
|
||||
;build_flags = ${common.build_flags} ${esp32.build_flags}
|
||||
build_flags = ${common.build_flags} ${esp32.build_flagsV4}
|
||||
-D WLED_RELEASE_NAME=ESP32 -D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET
|
||||
-D WLED_USE_PSRAM
|
||||
-D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||
; -D WLED_DEBUG
|
||||
; -D SR_DEBUG
|
||||
|
||||
;lib_deps = ${esp32.lib_deps}
|
||||
lib_deps = ${esp32.lib_depsV4}
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2
|
||||
|
||||
monitor_filters = esp32_exception_decoder
|
||||
board_build.partitions = ${esp32.default_partitions}
|
||||
board_build.f_flash = 80000000L
|
||||
board_build.flash_mode = dio
|
||||
|
||||
[env:esp32S3mdev]
|
||||
board = esp32-c3-devkitm-1
|
||||
platform = espressif32@5.1.1
|
||||
platform_packages = platformio/framework-arduinoespressif32@3.20004.220825
|
||||
framework = arduino
|
||||
|
||||
upload_speed = 460800 ; or 921600
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} ${esp32s3.build_flags} -D WLED_RELEASE_NAME=ESP32S3 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET
|
||||
-D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=0 -D ARDUINO_USB_MSC_ON_BOOT=0
|
||||
-D WLED_WATCHDOG_TIMEOUT=0
|
||||
-D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds
|
||||
-D LEDPIN=4
|
||||
-D STATUSLED=39
|
||||
-D BTNPIN=-1
|
||||
-D RLYPIN=-1
|
||||
-D IRPIN=-1
|
||||
-D HW_PIN_SDA=40
|
||||
-D HW_PIN_SCL=41
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
;; for audioreactive usermod
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||
-D AUDIOPIN=-1
|
||||
-D I2S_SDPIN=16
|
||||
-D I2S_CKPIN=17
|
||||
-D I2S_WSPIN=47
|
||||
-D ES7243_SDAPIN=8
|
||||
-D ES7243_SCLPIN=18
|
||||
|
||||
lib_deps = ${esp32s3.lib_deps}
|
||||
;; for audioreactive usermod
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2
|
||||
|
||||
board_build.partitions = tools/WLED_ESP32_8MB.csv
|
||||
; board_build.flash_mode = dio
|
||||
board_build.flash_mode = qio
|
||||
board_build.f_flash = 80000000L
|
||||
; board_build.f_flash = 120000000L
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# custom board configurations
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user