2017-05-26 16:32:47 +02:00
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
|
;
|
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
|
; Advanced options: extra scripting
|
|
|
|
|
;
|
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
|
; http://docs.platformio.org/page/projectconf.html
|
|
|
|
|
|
|
|
|
|
[env:nodemcuv2]
|
|
|
|
|
platform=espressif8266
|
2017-05-29 09:15:25 +02:00
|
|
|
; source: http://www.instructables.com/id/Use-Homie-Firmware-to-Drive-Sonoff-Switch-Module-E/
|
|
|
|
|
; https://github.com/arendst/Sonoff-MQTT-OTA-Arduino/issues/231
|
|
|
|
|
board=esp01_1m
|
2017-05-26 16:32:47 +02:00
|
|
|
framework=arduino
|
|
|
|
|
upload_port=<IP>
|
|
|
|
|
upload_flags=--auth="<PASS>"
|
|
|
|
|
|
|
|
|
|
[platformio]
|
|
|
|
|
src_dir=arduino/sonoffliving
|
2017-05-29 09:15:25 +02:00
|
|
|
lib_dir=~/Arduino/libraries
|