Skip to content

Commit

Permalink
Remove esp8266 envs from platformio.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
THATDONFC committed Sep 7, 2020
2 parents 47eced8 + 2f2bebe commit 4ccb567
Showing 1 changed file with 27 additions and 22 deletions.
49 changes: 27 additions & 22 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ extra_configs =
# ------------------------------------------------------------------------------

# Travis CI binaries
;default_envs = travis_esp8266, travis_esp32
;default_envs = travis_esp32

# Release binaries
; default_envs = nodemcuv2, esp01, esp01_1m_ota, esp01_1m_full, esp32dev, custom_WS2801, custom_APA102, custom_LEDPIN_16, custom_LEDPIN_4, custom32_LEDPIN_16
; default_envs = nodemcuv2, esp01_1m_full, esp32dev, custom_WS2801, custom_APA102, custom_LEDPIN_16, custom_LEDPIN_4, custom_LEDPIN_3, custom32_LEDPIN_16

# WLED sound-reactive binaries
default_envs = soundReactive_esp32dev, soundReactive_nodemcuv2, soundReactive_LEDPIN_4
default_envs = soundReactive_esp32dev, soundReactive_esp32_LEDPIN_16

# Single binaries (uncomment your board)
; default_envs = nodemcuv2
Expand Down Expand Up @@ -197,18 +197,21 @@ platform = ${common.platform_wled_default}
board_build.ldscript = ${common.ldscript_4m1m}
build_flags = ${common.build_flags_esp8266}

# Unsupported environment due to insufficient flash
[env:esp01]
board = esp01
platform = ${common.platform_wled_default}
board_build.ldscript = ${common.ldscript_512k}
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK
-D WLED_DISABLE_CRONIXIE -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT
-D WLED_DISABLE_CRONIXIE -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT -D WLED_DISABLE_WEBSOCKETS

# Unsupported environment due to insufficient flash
[env:esp01_1m_ota]
board = esp01_1m
platform = ${common.platform_wled_default}
board_build.ldscript = ${common.ldscript_1m0m}
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE
-D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT -D WLED_DISABLE_WEBSOCKETS

[env:esp01_1m_full]
board = esp01_1m
Expand Down Expand Up @@ -310,25 +313,20 @@ build_flags = ${common.build_flags_esp8266}
[env:soundReactive_esp32dev]
board = esp32dev
platform = [email protected]
build_flags = ${common.build_flags_esp32} -D WLED_ENABLE_ADALIGHT -D WLED_ENABLE_WEBSOCKETS -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE
build_flags = ${common.build_flags_esp32} -D WLED_ENABLE_ADALIGHT -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE
-D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT
lib_ignore =
ESPAsyncTCP
ESPAsyncUDP

[env:soundReactive_nodemcuv2]
board = nodemcuv2
platform = ${common.platform_latest}
board_build.ldscript = ${common.ldscript_4m1m}
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE
[env:soundReactive_esp32_LEDPIN_16]
board = esp32dev
platform = [email protected]
build_flags = ${common.build_flags_esp32} -D LEDPIN=16 -D WLED_ENABLE_ADALIGHT -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE
-D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT

[env:soundReactive_LEDPIN_4]
board = d1_mini
platform = ${common.platform_latest}
board_build.ldscript = ${common.ldscript_4m1m}
build_flags = ${common.build_flags_esp8266} -D LEDPIN=4 -D IRPIN=5 -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK
-D WLED_DISABLE_CRONIXIE -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED -D WLED_DISABLE_MQTT
lib_ignore =
ESPAsyncTCP
ESPAsyncUDP

# ------------------------------------------------------------------------------
# custom board configurations
Expand All @@ -346,6 +344,13 @@ platform = ${common.platform_latest}
board_build.ldscript = ${common.ldscript_4m1m}
build_flags = ${common.build_flags_esp8266} -D LEDPIN=16


[env:custom_LEDPIN_3]
board = d1_mini
platform = ${common.platform_latest}
board_build.ldscript = ${common.ldscript_4m1m}
build_flags = ${common.build_flags_esp8266} -D LEDPIN=3

[env:custom_APA102]
board = d1_mini
platform = ${common.platform_latest}
Expand Down Expand Up @@ -389,10 +394,10 @@ platform = [email protected]
# travis test board configurations
# ------------------------------------------------------------------------------

[env:travis_esp8266]
extends = env:d1_mini
build_type = debug
build_flags = ${common.build_flags_esp8266} ${common.debug_flags} ${common.build_flags_all_features}
#[env:travis_esp8266]
#extends = env:d1_mini
#build_type = debug
#build_flags = ${common.build_flags_esp8266} ${common.debug_flags} ${common.build_flags_all_features}

[env:travis_esp32]
extends = env:esp32dev
Expand Down

0 comments on commit 4ccb567

Please sign in to comment.