|
|
@ -1,5 +1,5 @@ |
|
|
|
[platformio] |
|
|
|
env_default = node-debug |
|
|
|
env_default = d1-debug |
|
|
|
src_dir = espurna |
|
|
|
data_dir = espurna/data |
|
|
|
|
|
|
@ -28,6 +28,27 @@ lib_ignore = FauxmoESP, ESPAsyncUDP |
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
[env:d1-debug] |
|
|
|
platform = espressif8266 |
|
|
|
framework = arduino |
|
|
|
board = d1_mini |
|
|
|
lib_deps = ${common.lib_deps} |
|
|
|
lib_ignore = ${common.lib_ignore} |
|
|
|
extra_script = pio_hooks.py |
|
|
|
build_flags = -g -DD1_RELAYSHIELD -DDEBUG_PORT=Serial -DNOWSAUTH |
|
|
|
|
|
|
|
[env:d1-debug-ota] |
|
|
|
platform = espressif8266 |
|
|
|
framework = arduino |
|
|
|
board = d1_mini |
|
|
|
lib_deps = ${common.lib_deps} |
|
|
|
lib_ignore = ${common.lib_ignore} |
|
|
|
extra_script = pio_hooks.py |
|
|
|
build_flags = -g -DD1_RELAYSHIELD -DDEBUG_PORT=Serial -DNOWSAUTH |
|
|
|
upload_speed = 115200 |
|
|
|
upload_port = "192.168.4.1" |
|
|
|
upload_flags = --auth=fibonacci --port 8266 |
|
|
|
|
|
|
|
[env:node-debug] |
|
|
|
platform = espressif8266 |
|
|
|
framework = arduino |
|
|
|