diff --git a/code/platformio.ini b/code/platformio.ini index af7c18d0..b1d417f4 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -91,6 +91,18 @@ lib_ignore = ${common.lib_ignore} extra_script = pio_hooks.py build_flags = ${common.build_flags} -DESPURNA_H +[env:espurna-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 = ${common.build_flags} -DESPURNA_H +upload_speed = 115200 +upload_port = "192.168.4.1" +upload_flags = --auth=fibonacci --port 8266 + [env:sonoff-debug] platform = espressif8266 framework = arduino