Tasmota/platformio.ini

66 lines
1.8 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
2017-06-03 21:18:58 +01:00
; Uncomment one of the lines below to build/upload only one environment
;env_default = sonoff
2017-09-02 16:24:05 +01:00
;env_default = sonoff-NL
;env_default = sonoff-minimal
;env_default = sonoff-ds18x20
; Sonoff et al
2017-01-28 15:44:00 +00:00
[env:sonoff]
platform = espressif8266
framework = arduino
board = esp01_1m
2017-05-07 14:57:59 +01:00
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
2017-09-02 16:24:05 +01:00
; Serial Monitor options
monitor_baud = 115200
; Sonoff et al
[env:sonoff-NL]
platform = espressif8266
framework = arduino
board = esp01_1m
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DMY_LANGUAGE=nl-NL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
; Serial Monitor options
monitor_baud = 115200
; Sonoff minimal
[env:sonoff-minimal] ; Placeholder to be configured
platform = espressif8266
framework = arduino
board = esp01_1m
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512 -DBE_MINIMAL
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
2017-09-02 16:24:05 +01:00
; Serial Monitor options
monitor_baud = 115200
; Sonoff multiple DS18x20
[env:sonoff-ds18x20]
platform = espressif8266
framework = arduino
board = esp01_1m
board_flash_mode = dout
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=707 -DUSE_DS18x20 -DMESSZ=600
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON, OneWire
2017-09-02 16:24:05 +01:00
; Serial Monitor options
monitor_baud = 115200