-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
89 changed files
with
1,841 additions
and
2,095 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
# ------------------------------------------------------------------------------ | ||
|
||
# CI/release binaries | ||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, nodemcuv2_160, esp8266_2m_160, esp01_1m_full_160, esp32dev, esp32_eth, esp32dev_audioreactive, lolin_s2_mini, esp32c3dev, esp32s3dev_16MB_opi, esp32s3dev_8MB_opi, esp32s3_4M_qspi, esp32_wrover | ||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, nodemcuv2_160, esp8266_2m_160, esp01_1m_full_160, nodemcuv2_compat, esp8266_2m_compat, esp01_1m_full_compat, esp32dev, esp32_eth, lolin_s2_mini, esp32c3dev, esp32s3dev_16MB_opi, esp32s3dev_8MB_opi, esp32s3_4M_qspi, esp32_wrover | ||
|
||
src_dir = ./wled00 | ||
data_dir = ./wled00/data | ||
|
@@ -140,7 +140,7 @@ lib_deps = | |
IRremoteESP8266 @ 2.8.2 | ||
makuna/NeoPixelBus @ 2.8.0 | ||
#https://github.com/makuna/NeoPixelBus.git#CoreShaderBeta | ||
https://github.com/Aircoookie/ESPAsyncWebServer.git @ 2.2.1 | ||
https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.2.1 | ||
# for I2C interface | ||
;Wire | ||
# ESP-NOW library | ||
|
@@ -205,6 +205,38 @@ lib_deps = | |
ESP8266PWM | ||
${env.lib_deps} | ||
|
||
;; compatibilty flags - same as 0.14.0 which seems to work better on some 8266 boards. Not using PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48 | ||
build_flags_compat = | ||
-DESP8266 | ||
-DFP_IN_IROM | ||
;;-Wno-deprecated-declarations | ||
-Wno-misleading-indentation | ||
;;-Wno-attributes ;; silence warnings about unknown attribute 'maybe_unused' in NeoPixelBus | ||
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703 | ||
-DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH | ||
-DVTABLES_IN_FLASH | ||
-DMIMETYPE_MINIMAL | ||
-DWLED_SAVE_IRAM ;; needed to prevent linker error | ||
|
||
;; this platform version was used for WLED 0.14.0 | ||
platform_compat = [email protected] | ||
platform_packages_compat = | ||
platformio/toolchain-xtensa @ ~2.100300.220621 #2.40802.200502 | ||
platformio/tool-esptool #@ ~1.413.0 | ||
platformio/tool-esptoolpy #@ ~1.30000.0 | ||
|
||
;; experimental - for using older NeoPixelBus 2.7.9 | ||
lib_deps_compat = | ||
ESPAsyncTCP @ 1.2.2 | ||
ESPAsyncUDP | ||
ESP8266PWM | ||
fastled/FastLED @ 3.6.0 | ||
IRremoteESP8266 @ 2.8.2 | ||
makuna/NeoPixelBus @ 2.7.9 | ||
https://github.com/blazoncek/QuickESPNow.git#optional-debug | ||
https://github.com/Aircoookie/ESPAsyncWebServer.git#v2.2.1 | ||
|
||
|
||
[esp32] | ||
#platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2.3/platform-espressif32-2.0.2.3.zip | ||
platform = [email protected] | ||
|
@@ -315,10 +347,19 @@ build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_RELEASE_NAME= | |
lib_deps = ${esp8266.lib_deps} | ||
monitor_filters = esp8266_exception_decoder | ||
|
||
[env:nodemcuv2_compat] | ||
extends = env:nodemcuv2 | ||
;; using platform version and build options from WLED 0.14.0 | ||
platform = ${esp8266.platform_compat} | ||
platform_packages = ${esp8266.platform_packages_compat} | ||
build_flags = ${common.build_flags} ${esp8266.build_flags_compat} -D WLED_RELEASE_NAME=ESP8266_compat #-DWLED_DISABLE_2D | ||
;; lib_deps = ${esp8266.lib_deps_compat} ;; experimental - use older NeoPixelBus 2.7.9 | ||
|
||
[env:nodemcuv2_160] | ||
extends = env:nodemcuv2 | ||
board_build.f_cpu = 160000000L | ||
build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_RELEASE_NAME=ESP8266_160 #-DWLED_DISABLE_2D | ||
-D USERMOD_AUDIOREACTIVE | ||
|
||
[env:esp8266_2m] | ||
board = esp_wroom_02 | ||
|
@@ -329,10 +370,18 @@ build_unflags = ${common.build_unflags} | |
build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_RELEASE_NAME=ESP02 | ||
lib_deps = ${esp8266.lib_deps} | ||
|
||
[env:esp8266_2m_compat] | ||
extends = env:esp8266_2m | ||
;; using platform version and build options from WLED 0.14.0 | ||
platform = ${esp8266.platform_compat} | ||
platform_packages = ${esp8266.platform_packages_compat} | ||
build_flags = ${common.build_flags} ${esp8266.build_flags_compat} -D WLED_RELEASE_NAME=ESP02_compat #-DWLED_DISABLE_2D | ||
|
||
[env:esp8266_2m_160] | ||
extends = env:esp8266_2m | ||
board_build.f_cpu = 160000000L | ||
build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_RELEASE_NAME=ESP02_160 | ||
-D USERMOD_AUDIOREACTIVE | ||
|
||
[env:esp01_1m_full] | ||
board = esp01_1m | ||
|
@@ -344,10 +393,18 @@ build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_RELEASE_NAME= | |
; -D WLED_USE_REAL_MATH ;; may fix wrong sunset/sunrise times, at the cost of 7064 bytes FLASH and 975 bytes RAM | ||
lib_deps = ${esp8266.lib_deps} | ||
|
||
[env:esp01_1m_full_compat] | ||
extends = env:esp01_1m_full | ||
;; using platform version and build options from WLED 0.14.0 | ||
platform = ${esp8266.platform_compat} | ||
platform_packages = ${esp8266.platform_packages_compat} | ||
build_flags = ${common.build_flags} ${esp8266.build_flags_compat} -D WLED_RELEASE_NAME=ESP01_compat -D WLED_DISABLE_OTA #-DWLED_DISABLE_2D | ||
|
||
[env:esp01_1m_full_160] | ||
extends = env:esp01_1m_full | ||
board_build.f_cpu = 160000000L | ||
build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_RELEASE_NAME=ESP01_160 -D WLED_DISABLE_OTA | ||
-D USERMOD_AUDIOREACTIVE | ||
; -D WLED_USE_REAL_MATH ;; may fix wrong sunset/sunrise times, at the cost of 7064 bytes FLASH and 975 bytes RAM | ||
|
||
[env:esp32dev] | ||
|
@@ -356,7 +413,9 @@ platform = ${esp32.platform} | |
platform_packages = ${esp32.platform_packages} | ||
build_unflags = ${common.build_unflags} | ||
build_flags = ${common.build_flags} ${esp32.build_flags} -D WLED_RELEASE_NAME=ESP32 #-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} | ||
|
||
|
@@ -373,19 +432,19 @@ monitor_filters = esp32_exception_decoder | |
board_build.partitions = ${esp32.large_partitions} | ||
; board_build.f_flash = 80000000L | ||
|
||
[env:esp32dev_audioreactive] | ||
board = esp32dev | ||
platform = ${esp32.platform} | ||
platform_packages = ${esp32.platform_packages} | ||
build_unflags = ${common.build_unflags} | ||
build_flags = ${common.build_flags} ${esp32.build_flags} -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_audioreactive] | ||
;board = esp32dev | ||
;platform = ${esp32.platform} | ||
;platform_packages = ${esp32.platform_packages} | ||
;build_unflags = ${common.build_unflags} | ||
;build_flags = ${common.build_flags} ${esp32.build_flags} -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:esp32_eth] | ||
board = esp32-poe | ||
|
@@ -394,8 +453,10 @@ platform_packages = ${esp32.platform_packages} | |
upload_speed = 921600 | ||
build_unflags = ${common.build_unflags} | ||
build_flags = ${common.build_flags} ${esp32.build_flags} -D WLED_RELEASE_NAME=ESP32_Ethernet -D RLYPIN=-1 -D WLED_USE_ETHERNET -D BTNPIN=-1 | ||
-D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only | ||
; -D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only | ||
${esp32.AR_build_flags} | ||
lib_deps = ${esp32.lib_deps} | ||
${esp32.AR_lib_deps} | ||
board_build.partitions = ${esp32.default_partitions} | ||
|
||
[env:esp32_wrover] | ||
|
@@ -405,14 +466,14 @@ platform_packages = ${esp32_idf_V4.platform_packages} | |
board = ttgo-t7-v14-mini32 | ||
board_build.f_flash = 80000000L | ||
board_build.flash_mode = qio | ||
board_build.partitions = ${esp32.default_partitions} | ||
board_build.partitions = ${esp32.extended_partitions} | ||
build_unflags = ${common.build_unflags} | ||
build_flags = ${common.build_flags} ${esp32_idf_V4.build_flags} -D WLED_RELEASE_NAME=ESP32_WROVER | ||
-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue ;; Older ESP32 (rev.<3) need a PSRAM fix (increases static RAM used) https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/external-ram.html | ||
-D LEDPIN=25 | ||
; ${esp32.AR_build_flags} | ||
-D DATA_PINS=25 | ||
${esp32.AR_build_flags} | ||
lib_deps = ${esp32_idf_V4.lib_deps} | ||
; ${esp32.AR_lib_deps} | ||
${esp32.AR_lib_deps} | ||
|
||
[env:esp32c3dev] | ||
extends = esp32c3 | ||
|
@@ -508,7 +569,7 @@ build_flags = ${common.build_flags} ${esp32s2.build_flags} -D WLED_RELEASE_NAME= | |
-DLOLIN_WIFI_FIX ; seems to work much better with this | ||
-D WLED_WATCHDOG_TIMEOUT=0 | ||
-D CONFIG_ASYNC_TCP_USE_WDT=0 | ||
-D LEDPIN=16 | ||
-D DATA_PINS=16 | ||
-D HW_PIN_SCL=35 | ||
-D HW_PIN_SDA=33 | ||
-D HW_PIN_CLOCKSPI=7 | ||
|
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
Oops, something went wrong.