From f6e7ddc7edc2a64bddcd0b0bc6a63d8b4ac0a5ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 12 Aug 2017 00:33:05 +0200 Subject: [PATCH] Fix flash mode for the Sonoff 4CH and Touch --- code/platformio.ini | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/platformio.ini b/code/platformio.ini index d75dcfc0..4a00daea 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -90,7 +90,6 @@ build_flags = ${common.build_flags} -DESPURNA_H platform = espressif8266 framework = arduino board = esp12e -board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags} -DESPURNA_H @@ -182,7 +181,7 @@ upload_flags = --auth=fibonacci --port 8266 [env:sonoff-4ch-debug] platform = espressif8266 framework = arduino -board = esp01_1m +board = esp8285 board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} @@ -191,7 +190,7 @@ build_flags = ${common.build_flags_1m} -DSONOFF_4CH [env:sonoff-4ch-debug-ota] platform = espressif8266 framework = arduino -board = esp01_1m +board = esp8285 board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} @@ -203,7 +202,7 @@ upload_flags = --auth=fibonacci --port 8266 [env:sonoff-touch-debug] platform = espressif8266 framework = arduino -board = esp01_1m +board = esp8285 board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} @@ -212,7 +211,7 @@ build_flags = ${common.build_flags_1m} -DSONOFF_TOUCH [env:sonoff-touch-debug-ota] platform = espressif8266 framework = arduino -board = esp01_1m +board = esp8285 board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore}