From 6ba240b6c554625ae47ca58b54469ed611ad8191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 11 Feb 2017 01:00:43 +0100 Subject: [PATCH] Fix platform environment for ESP8285 boards: Sonoff 4CH and Touch --- code/platformio.ini | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/code/platformio.ini b/code/platformio.ini index d60fd530..9ffd88ec 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -166,7 +166,7 @@ upload_flags = --auth=fibonacci --port 8266 [env:sonoff-4ch-debug] platform = espressif8266 framework = arduino -board = esp01_1m +board = esp8285 lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} extra_script = pio_hooks.py @@ -175,7 +175,7 @@ build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_4CH [env:sonoff-4ch-debug-ota] platform = espressif8266 framework = arduino -board = esp01_1m +board = esp8285 lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} extra_script = pio_hooks.py @@ -184,6 +184,27 @@ upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 +[env:sonoff-touch-debug] +platform = espressif8266 +framework = arduino +board = esp8285 +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +extra_script = pio_hooks.py +build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_TOUCH + +[env:sonoff-touch-debug-ota] +platform = espressif8266 +framework = arduino +board = esp8285 +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +extra_script = pio_hooks.py +build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DSONOFF_TOUCH +upload_speed = 115200 +upload_port = "192.168.4.1" +upload_flags = --auth=fibonacci --port 8266 + [env:slampher-debug] platform = espressif8266 framework = arduino