From d9680c5e4b9b1fcf15ab2922be2f4453ddb41c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 27 Mar 2017 17:49:02 +0200 Subject: [PATCH] Adding ESPurna board OTA update to platformio.ini file --- code/platformio.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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