mirror of https://github.com/arendst/Tasmota.git
Enabled auto-compiling both versions
This commit is contained in:
parent
7ce5b4cba5
commit
09acb77277
|
@ -10,16 +10,20 @@
|
||||||
[platformio]
|
[platformio]
|
||||||
src_dir = sonoff
|
src_dir = sonoff
|
||||||
|
|
||||||
|
; Sonoff et al (ESP8266 based)
|
||||||
[env:sonoff]
|
[env:sonoff]
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp01_1m
|
board = esp01_1m
|
||||||
|
|
||||||
; Select one of two board_flash_mode options below
|
|
||||||
; Sonoff Basic et al. (ESP8266 uses dio or qio)
|
|
||||||
board_flash_mode = qio
|
board_flash_mode = qio
|
||||||
; Sonoff Touch and Sonoff 4CH (ESP8285 uses dout)
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512
|
||||||
; board_flash_mode = dout
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
||||||
|
|
||||||
|
; Sonoff Touch and Sonoff 4CH (ESP8285 based)
|
||||||
|
[env:sonoff-touch-4ch]
|
||||||
|
platform = espressif8266
|
||||||
|
framework = arduino
|
||||||
|
board = esp01_1m
|
||||||
|
board_flash_mode = dout
|
||||||
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512
|
||||||
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
Loading…
Reference in New Issue