From 4560feadca6d36cedf4da707f374569aad6af406 Mon Sep 17 00:00:00 2001 From: Matias Schertel Date: Tue, 29 Aug 2017 02:44:49 -0300 Subject: [PATCH] add itead-sonoff-basic-dht22-ota environment to platformio --- code/platformio.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/code/platformio.ini b/code/platformio.ini index e63fdefd..839482ae 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -156,6 +156,19 @@ lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 monitor_baud = 115200 +[env:itead-sonoff-basic-dht22-ota] +platform = espressif8266 +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_BASIC -DDHT_SUPPORT=1 +upload_speed = 115200 +upload_port = "192.168.4.1" +upload_flags = --auth=fibonacci --port 8266 +monitor_baud = 115200 + [env:itead-sonoff-basic-ds18b20] platform = espressif8266 framework = arduino