esp-volumeknob/platformio.ini

48 lines
1.5 KiB
INI

; 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
; https://docs.platformio.org/page/projectconf.html
;
; If you're recreating this project in PlatformIO, please go to your project folder and execute the following command on your terminal:
; ln -s src/platformio.ini ./platformio.ini
[env:d1_mini]
# platform = espressif8266@^2
platform = espressif8266
board = d1_mini
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
lib_deps =
bblanchon/ArduinoJson
https://github.com/homieiot/homie-esp8266
https://github.com/PaulStoffregen/Encoder.git
https://github.com/adafruit/DHT-sensor-library
https://github.com/adafruit/Adafruit_Sensor
upload_protocol = espota
upload_port = HOSTNAME
upload_flags = --host_port=54321
[env:d1_minidebug]
# platform = espressif8266@^2
platform = espressif8266
board = d1_mini
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
lib_deps =
bblanchon/ArduinoJson
https://github.com/homieiot/homie-esp8266
https://github.com/PaulStoffregen/Encoder.git
https://github.com/adafruit/DHT-sensor-library
https://github.com/adafruit/Adafruit_Sensor
upload_protocol = espota
upload_port = 172.23.23.12
upload_flags = --host_port=54321
# platformio run --target upload --environment d1_mini