Skip to content

Commit

Permalink
fix for compiling with recent versions of platformIO
Browse files Browse the repository at this point in the history
platformIO does not like "." (dot) in buildenv names.
  • Loading branch information
softhack007 committed Aug 26, 2023
1 parent a7aae27 commit 194c9a8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
;default_envs = nodemcuv2, esp01_1m_full, esp32dev, esp32_eth

# WLED sound-reactive binaries
default_envs = soundReactive_nodemcuv2
default_envs = soundReactive_nodemcuv2, soundReactive_d1_mini

# Build everything
; default_envs = esp32dev, esp8285_4CH_MagicHome, esp8285_4CH_H801, 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_5CH_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
; default_envs = esp32dev, esp8285_4CH_MagicHome, esp8285_4CH_H801, 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_5CH_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips

# Single binaries (uncomment your board)
; default_envs = elekstube_ips
Expand Down Expand Up @@ -199,10 +199,10 @@ build_flags =
-DMIMETYPE_MINIMAL

lib_deps =
${env.lib_deps}
# ESPAsyncTCP @ 1.2.0
ESPAsyncUDP
makuna/NeoPixelBus @ 2.6.7 # 2.6.5/2.6.6 and newer do not compile on ESP core < 3.0.0
${env.lib_deps}

[esp32]
build_flags = -g
Expand Down Expand Up @@ -388,7 +388,7 @@ platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D WLED_DISABLE_MQTT
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 -D WLED_DISABLE_MQTT -D WLED_DISABLE_INFRARED
lib_deps = ${esp8266.lib_deps}

[env:soundReactive_d1_mini]
Expand All @@ -398,7 +398,7 @@ platform_packages = ${common.platform_packages}
upload_speed = 921600
board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_MQTT
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_MQTT -D WLED_DISABLE_INFRARED
lib_deps = ${esp8266.lib_deps}
monitor_filters = esp8266_exception_decoder

Expand Down Expand Up @@ -472,10 +472,10 @@ build_flags = ${common.build_flags_esp32} ${common.debug_flags} ${common.build_f

# ------------------------------------------------------------------------------
# codm pixel controller board configurations
# codm-controller-0.6 can also be used for the TYWE3S controller
# codm-controller-0_6 can also be used for the TYWE3S controller
# ------------------------------------------------------------------------------

[env:codm-controller-0.6]
[env:codm-controller-0_6]
board = esp_wroom_02
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
Expand All @@ -484,7 +484,7 @@ build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266}
lib_deps = ${esp8266.lib_deps}

[env:codm-controller-0.6-rev2]
[env:codm-controller-0_6-rev2]
board = esp_wroom_02
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
Expand Down

0 comments on commit 194c9a8

Please sign in to comment.