Browse Source

Fix platform environment for ESP8285 boards: Sonoff 4CH and Touch

fastled
Xose Pérez 7 years ago
parent
commit
6ba240b6c5
1 changed files with 23 additions and 2 deletions
  1. +23
    -2
      code/platformio.ini

+ 23
- 2
code/platformio.ini View File

@ -166,7 +166,7 @@ upload_flags = --auth=fibonacci --port 8266
[env:sonoff-4ch-debug] [env:sonoff-4ch-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
board = esp8285
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py 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] [env:sonoff-4ch-debug-ota]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino
board = esp01_1m
board = esp8285
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore} lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py extra_script = pio_hooks.py
@ -184,6 +184,27 @@ upload_speed = 115200
upload_port = "192.168.4.1" upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266 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] [env:slampher-debug]
platform = espressif8266 platform = espressif8266
framework = arduino framework = arduino


Loading…
Cancel
Save