|
[platformio]
|
|
env_default = node-debug
|
|
|
|
[common]
|
|
lib_deps =
|
|
DHT sensor library
|
|
Adafruit Unified Sensor
|
|
Time
|
|
ArduinoJson
|
|
ESPAsyncTCP
|
|
ESPAsyncWebServer
|
|
https://github.com/marvinroger/async-mqtt-client
|
|
ESPAsyncUDP
|
|
Embedis
|
|
NtpClientLib
|
|
OneWire
|
|
DallasTemperature
|
|
https://bitbucket.org/xoseperez/justwifi.git
|
|
https://bitbucket.org/xoseperez/nofuss.git
|
|
https://bitbucket.org/xoseperez/hlw8012.git
|
|
https://bitbucket.org/xoseperez/emonliteesp.git
|
|
https://bitbucket.org/xoseperez/fauxmoESP.git
|
|
https://github.com/jccprj/RemoteSwitch-arduino-library
|
|
lib_ignore = FauxmoESP, ESPAsyncUDP
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
[env:node-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = nodemcuv2
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial -DNOWSAUTH
|
|
|
|
[env:node-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = nodemcuv2
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -DNODEMCUV2 -DDEBUG_PORT=Serial -DNOWSAUTH
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|
|
|
|
[env:sonoff-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF
|
|
|
|
[env:sonoff-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|
|
|
|
[env:sonoff-dht22-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_DHT=1
|
|
|
|
[env:sonoff-ds18b20-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_DS18B20=1
|
|
|
|
[env:sonoff-pow-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_POW
|
|
|
|
[env:sonoff-pow-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_POW
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|
|
|
|
[env:sonoff-dual-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DSONOFF_DUAL
|
|
|
|
[env:sonoff-dual-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DSONOFF_DUAL
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|
|
|
|
[env:sonoff-4ch-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_4CH
|
|
|
|
[env:sonoff-4ch-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_4CH
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|
|
|
|
[env:slampher-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSLAMPHER
|
|
|
|
[env:slampher-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.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
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DS20
|
|
|
|
[env:s20-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DS20
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|
|
|
|
[env:1ch-inching-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DITEAD_1CH_INCHING
|
|
|
|
[env:electrodragon-debug]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -DDEBUG_PORT=Serial -DDEBUG_PORT=Serial -DESP_RELAY_BOARD -DENABLE_DHT=1
|
|
|
|
[env:electrodragon-debug-ota]
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp12e
|
|
lib_deps = ${common.lib_deps}
|
|
lib_ignore = ${common.lib_ignore}
|
|
extra_script = pio_hooks.py
|
|
build_flags = -g -DDEBUG_PORT=Serial -DDEBUG_PORT=Serial -DESP_RELAY_BOARD -DENABLE_DHT=1
|
|
upload_speed = 115200
|
|
upload_port = "192.168.4.1"
|
|
upload_flags = --auth=fibonacci --port 8266
|