Browse Source

Not using espressif8266_stage in default environment

fastled
Xose Pérez 8 years ago
parent
commit
dd356d8108
3 changed files with 47 additions and 37 deletions
  1. +3
    -0
      CHANGELOG.md
  2. +16
    -12
      code/platformio.custom.ini
  3. +28
    -25
      code/platformio.ini

+ 3
- 0
CHANGELOG.md View File

@ -5,8 +5,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] ## [Unreleased]
### Added ### Added
- Added support for DS18B20 temperature sensor. Thanks to Francesco Boscarino
- Added reset command from console
### Changed ### Changed
- Not using espressif8266_stage in default environment
### Deprecated ### Deprecated


+ 16
- 12
code/platformio.custom.ini View File

@ -37,6 +37,18 @@ upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
# ------------------------------------------------------------------------------
[env:node-debug]
include = common
board = nodemcuv2
platform = espressif8266
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial
lib_ignore =
[env:node-debug-ota]
include = env:node-debug,ota
[env:sonoff-debug] [env:sonoff-debug]
include = common include = common
board = esp01_1m board = esp01_1m
@ -69,19 +81,11 @@ build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
[env:s20-debug-ota] [env:s20-debug-ota]
include = env:s20-debug,ota include = env:s20-debug,ota
[env:node-debug]
include = common
board = nodemcuv2
platform = espressif8266_stage
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
lib_ignore =
[env:node-debug-ota]
include = env:node-debug,ota
# ------------------------------------------------------------------------------
[env:ac-device]
topic = /home/cellar/airconditioner/ip
include = env:s20-debug-ota
[env:washer-device] [env:washer-device]
topic = /home/cellar/washer/ip topic = /home/cellar/washer/ip


+ 28
- 25
code/platformio.ini View File

@ -23,21 +23,24 @@ lib_deps =
https://github.com/jccprj/RemoteSwitch-arduino-library https://github.com/jccprj/RemoteSwitch-arduino-library
lib_ignore = FauxmoESP, ESPAsyncUDP lib_ignore = FauxmoESP, ESPAsyncUDP
# ------------------------------------------------------------------------------
[env:node-debug] [env:node-debug]
platform = espressif8266_stage
platform = espressif8266
framework = arduino framework = arduino
board = nodemcuv2
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = nodemcuv2
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial
[env:node-debug-ota] [env:node-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = nodemcuv2
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = nodemcuv2
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
@ -46,97 +49,97 @@ upload_flags = --auth=fibonacci --port 8266
[env:sonoff-debug] [env:sonoff-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
[env:sonoff-debug-ota] [env:sonoff-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
lib_ignore = ${common.lib_ignore}
[env:sonoff-pow-debug] [env:sonoff-pow-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
lib_ignore = ${common.lib_ignore}
[env:sonoff-pow-debug-ota] [env:sonoff-pow-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
lib_ignore = ${common.lib_ignore}
[env:slampher-debug] [env:slampher-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
lib_ignore = ${common.lib_ignore}
[env:slampher-debug-ota] [env:slampher-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
lib_ignore = ${common.lib_ignore}
[env:s20-debug] [env:s20-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
lib_ignore = ${common.lib_ignore}
[env:s20-debug-ota] [env:s20-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
# ------------------------------------------------------------------------------
[env:ac-device] [env:ac-device]
topic = /home/cellar/airconditioner/ip topic = /home/cellar/airconditioner/ip
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
@ -146,10 +149,10 @@ upload_flags = --auth=fibonacci --port 8266
topic = /home/cellar/washer/ip topic = /home/cellar/washer/ip
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266
@ -159,10 +162,10 @@ build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENA
topic = /home/studio/lamp/ip topic = /home/studio/lamp/ip
platform = espressif8266_stage platform = espressif8266_stage
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = lib_ignore =
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1 build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
@ -170,13 +173,13 @@ upload_flags = --auth=fibonacci --port 8266
[env:living-lamp-device] [env:living-lamp-device]
topic = /home/living/lamp/ip topic = /home/living/lamp/ip
platform = espressif8266
platform = espressif8266_stage
framework = arduino framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
board = esp01_1m
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
build_flags = -g -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1
upload_speed = 115200 upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 upload_flags = --auth=fibonacci --port 8266

Loading…
Cancel
Save