Skip to content

Commit

Permalink
Updated esp8266/esp8285 selection
Browse files Browse the repository at this point in the history
  • Loading branch information
arendst committed Mar 8, 2017
1 parent ac84010 commit 7786889
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7786889

Please sign in to comment.