Tasmota/platformio.ini

54 lines
1.7 KiB
INI
Raw Normal View History

2017-01-28 15:44:00 +00:00
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
src_dir = sonoff
; Uncomment one of the below to build/upload only one enviroment
;env_default = sonoff
;env_default = sonoff-touch-4ch
;env_default = sonoff-minimal
;env_default = sonoff-ds18x20
2017-05-07 14:57:59 +01:00
; Sonoff et al (ESP8266 based)
2017-01-28 15:44:00 +00:00
[env:sonoff]
platform = espressif8266
framework = arduino
board = esp01_1m
2017-03-08 17:08:47 +00:00
board_flash_mode = qio
2017-05-07 14:57:59 +01:00
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
2017-03-08 17:08:47 +00:00
2017-05-07 14:57:59 +01:00
; 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
2017-05-07 14:57:59 +01:00
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
; Sonoff minimal (ESP8266 based)
[env:sonoff-minimal] ; Placeholder to be configured
platform = espressif8266
framework = arduino
board = esp01_1m
board_flash_mode = qio
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DBE_MINIMAL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
; Sonoff multiple DS18x20 (ESP8266 based)
[env:sonoff-ds18x20]
platform = espressif8266
framework = arduino
board = esp01_1m
board_flash_mode = qio
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=758 -DUSE_DS18x20 -DMESSZ=600
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON, OneWire