Browse Source

Prevent LDF from compile fauxmoESP library (and hence ESPAsyncUDP) by default

fastled
Xose Pérez 8 years ago
parent
commit
44a2d9bacd
3 changed files with 26 additions and 157 deletions
  1. +10
    -5
      code/platformio.custom.ini
  2. +0
    -150
      code/platformio.ini
  3. +1
    -0
      code/platformio.ini
  4. +15
    -2
      code/platformio.official.ini

+ 10
- 5
code/platformio.custom.ini View File

@ -14,6 +14,7 @@ platform = espressif8266
framework = arduino
lib_install = 19,31,44,64,305,306,346,359,408,727
extra_script = pio_hooks.py
lib_ignore = fauxmoESP
[ota]
upload_speed = 115200
@ -55,7 +56,9 @@ include = env:s20-debug,ota
[env:node-debug]
include = common
board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
platform = espressif8266_stage
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
lib_ignore =
[env:node-debug-ota]
include = env:node-debug,ota
@ -64,10 +67,6 @@ include = env:node-debug,ota
[env:ac-device]
topic = /home/cellar/airconditioner/ip
include = env:s20-debug-ota
[env:washer-device]
topic = /home/cellar/washer/ip
include = env:sonoff-debug-ota
@ -76,7 +75,13 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE
[env:studio-lamp-device]
topic = /home/studio/lamp/ip
include = env:sonoff-debug-ota
platform = espressif8266_stage
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1
lib_ignore =
[env:living-lamp-device]
topic = /home/living/lamp/ip
include = env:s20-debug-ota
platform = espressif8266_stage
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 -DENABLE_FAUXMO=1
lib_ignore =

+ 0
- 150
code/platformio.ini View File

@ -1,150 +0,0 @@
[platformio]
env_default = node-debug
[common]
lib_install = 19,31,44,64,305,306,346,359,408,727
[env:sonoff-debug]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
[env:sonoff-debug-ota]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:sonoff-pow-debug]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
[env:sonoff-pow-debug-ota]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:slampher-debug]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
[env:slampher-debug-ota]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:s20-debug]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
[env:s20-debug-ota]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:node-debug]
platform = espressif8266_stage
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
[env:node-debug-ota]
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:ac-device]
topic = /home/cellar/airconditioner/ip
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:washer-device]
topic = /home/cellar/washer/ip
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
[env:studio-lamp-device]
topic = /home/studio/lamp/ip
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:living-lamp-device]
topic = /home/living/lamp/ip
platform = espressif8266
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266

+ 1
- 0
code/platformio.ini View File

@ -0,0 +1 @@
platformio.official.ini

+ 15
- 2
code/platformio.official.ini View File

@ -11,6 +11,7 @@ lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
lib_ignore = fauxmoESP
[env:sonoff-debug-ota]
platform = espressif8266
@ -22,6 +23,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:sonoff-pow-debug]
platform = espressif8266
@ -30,6 +32,7 @@ lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
lib_ignore = fauxmoESP
[env:sonoff-pow-debug-ota]
platform = espressif8266
@ -41,6 +44,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:slampher-debug]
platform = espressif8266
@ -49,6 +53,7 @@ lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
lib_ignore = fauxmoESP
[env:slampher-debug-ota]
platform = espressif8266
@ -60,6 +65,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:s20-debug]
platform = espressif8266
@ -68,6 +74,7 @@ lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = esp01_1m
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
lib_ignore = fauxmoESP
[env:s20-debug-ota]
platform = espressif8266
@ -79,14 +86,15 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:node-debug]
platform = espressif8266
platform = espressif8266_stage
framework = arduino
lib_install = ${common.lib_install}
extra_script = pio_hooks.py
board = nodemcuv2
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
[env:node-debug-ota]
platform = espressif8266
@ -98,6 +106,7 @@ build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
@ -112,6 +121,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:washer-device]
topic = /home/cellar/washer/ip
@ -124,6 +134,7 @@ upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
lib_ignore = fauxmoESP
[env:studio-lamp-device]
topic = /home/studio/lamp/ip
@ -136,6 +147,7 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP
[env:living-lamp-device]
topic = /home/living/lamp/ip
@ -148,3 +160,4 @@ build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
lib_ignore = fauxmoESP

Loading…
Cancel
Save