From f5505808b0ac9143c52eb7249c7e8e280c0757d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 31 Oct 2017 22:20:04 +0100 Subject: [PATCH] Add env for Wemos D1 with ECH1560 power monitor --- code/platformio.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/code/platformio.ini b/code/platformio.ini index e257811d..d743f1de 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -936,6 +936,28 @@ upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 monitor_baud = 115200 +[env:wemos-ech1560] +platform = ${common.platform} +framework = arduino +board = d1_mini +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags} -DGENERIC_ECH1560 +upload_speed = 460800 +monitor_baud = 115200 + +[env:wemos-ech1560-ota] +platform = ${common.platform} +framework = arduino +board = d1_mini +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags} -DGENERIC_ECH1560 +upload_speed = 115200 +upload_port = "192.168.4.1" +upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 + [env:esp01-ech1560] platform = ${common.platform} framework = arduino