From 4b5524aaad6d5d803d7a59aba0ec77aa9951cc54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 13 Nov 2017 23:26:16 +0100 Subject: [PATCH] Add Sonoff TH to build targets --- code/platformio.ini | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/code/platformio.ini b/code/platformio.ini index a2a12568..333c87b0 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -229,6 +229,29 @@ upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 monitor_baud = 115200 +[env:itead-sonoff-th] +platform = ${common.platform} +framework = arduino +board = esp01_1m +board_flash_mode = dout +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH +monitor_baud = 115200 + +[env:itead-sonoff-th-ota] +platform = ${common.platform} +framework = arduino +board = esp01_1m +board_flash_mode = dout +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_TH +upload_speed = 115200 +upload_port = "192.168.4.1" +upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 + [env:itead-sonoff-pow] platform = ${common.platform} framework = arduino