Updated esp8266/esp8285 selection

This commit is contained in:
arendst 2017-03-08 18:08:47 +01:00
parent ac84010015
commit 7786889e90
1 changed files with 8 additions and 5 deletions

View File

@ -13,10 +13,13 @@ src_dir = sonoff
[env:sonoff]
platform = espressif8266
framework = arduino
; ESP8266 - Sonoff Basic et al.
board = esp01_1m
; ESP8285 - Sonoff Touch and Sonoff 4CH
; board = esp8285
build_flags = -Wl,-Tesp8266.flash.1m64.ld -DMQTT_MAX_PACKET_SIZE=512
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
; Select one of two board_flash_mode options below
; Sonoff Basic et al. (ESP8266 uses dio or qio)
board_flash_mode = qio
; Sonoff Touch and Sonoff 4CH (ESP8285 uses dout)
; board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m64.ld -DMQTT_MAX_PACKET_SIZE=512
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON