-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To make it better readable and prevent copy&paste errors, all needed flags can be referenced from the "esp32" buildenv: ${esp32.AR_build_flags} ${esp32.AR_lib_deps}
- Loading branch information
1 parent
c117785
commit b4fe694
Showing
1 changed file
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
# CI binaries | ||
; default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth # ESP32 variant builds are temporarily excluded from CI due to toolchain issues on the GitHub Actions Linux environment | ||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, lolin_s2_mini, esp32c3dev, esp32s3dev_8MB, esp32s3dev_8MB_PSRAM_opi | ||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32dev_audioreactive, lolin_s2_mini, esp32c3dev, esp32s3dev_8MB, esp32s3dev_8MB_PSRAM_opi | ||
|
||
# Release binaries | ||
; default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, lolin_s2_mini, esp32c3dev, esp32s3dev_8MB | ||
|
@@ -229,24 +229,22 @@ lib_deps = | |
[esp32] | ||
#platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.3/platform-espressif32-2.0.2.3.zip | ||
platform = [email protected] | ||
|
||
platform_packages = framework-arduinoespressif32 @ https://github.com/Aircoookie/arduino-esp32.git#1.0.6.4 | ||
|
||
build_flags = -g | ||
-DARDUINO_ARCH_ESP32 | ||
#-DCONFIG_LITTLEFS_FOR_IDF_3_2 | ||
-D CONFIG_ASYNC_TCP_USE_WDT=0 | ||
#use LITTLEFS library by lorol in ESP32 core 1.x.x instead of built-in in 2.x.x | ||
-D LOROL_LITTLEFS | ||
; -DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3 | ||
|
||
default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv | ||
|
||
lib_deps = | ||
https://github.com/lorol/LITTLEFS.git | ||
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0 | ||
${env.lib_deps} | ||
|
||
# additional build flags for audioreactive | ||
AR_build_flags = -D USERMOD_AUDIOREACTIVE -D UM_AUDIOREACTIVE_USE_NEW_FFT | ||
AR_lib_deps = https://github.com/kosme/arduinoFFT#develop @ ^1.9.2 | ||
|
||
[esp32_idf_V4] | ||
;; experimental build environment for ESP32 using ESP-IDF 4.4.x / arduino-esp32 v2.0.5 | ||
|
@@ -404,6 +402,20 @@ lib_deps = ${esp32.lib_deps} | |
monitor_filters = esp32_exception_decoder | ||
board_build.partitions = ${esp32.default_partitions} | ||
|
||
[env:esp32dev_audioreactive] | ||
board = esp32dev | ||
platform = ${esp32.platform} | ||
platform_packages = ${esp32.platform_packages} | ||
build_unflags = ${common.build_unflags} | ||
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32_audioreactive #-D WLED_DISABLE_BROWNOUT_DET | ||
${esp32.AR_build_flags} | ||
lib_deps = ${esp32.lib_deps} | ||
${esp32.AR_lib_deps} | ||
monitor_filters = esp32_exception_decoder | ||
board_build.partitions = ${esp32.default_partitions} | ||
; board_build.f_flash = 80000000L | ||
; board_build.flash_mode = dio | ||
|
||
[env:esp32dev_qio80] | ||
board = esp32dev | ||
platform = ${esp32.platform} | ||
|