mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
34 lines
917 B
Plaintext
34 lines
917 B
Plaintext
[platformio]
|
|
env_default = nodemcuv2
|
|
#env_default = d1_mini
|
|
|
|
[common]
|
|
platform = espressif8266
|
|
build_flags = -g -DMQTT_MAX_PACKET_SIZE=300
|
|
build_flags_custom = '-DWIFI_SSID="<my_ssid>"' '-DWIFI_PASSWORD="<my_password>"' '-DMQTT_IP="<broker_ip>"' '-DMQTT_USER="<broker_username>"' '-DMQTT_PASS="<broker_password>"'
|
|
lib_deps =
|
|
Time
|
|
PubSubClient
|
|
ArduinoJson
|
|
Ticker
|
|
|
|
[env:nodemcuv2]
|
|
board = nodemcuv2
|
|
platform = ${common.platform}
|
|
framework = arduino
|
|
lib_deps = ${common.lib_deps}
|
|
build_flags = ${common.build_flags} ${common.build_flags_custom}
|
|
upload_speed = 921600
|
|
; comment out next line if using USB and not OTA
|
|
upload_port = "boiler."
|
|
|
|
[env:d1_mini]
|
|
board = d1_mini
|
|
platform = ${common.platform}
|
|
framework = arduino
|
|
lib_deps = ${common.lib_deps}
|
|
build_flags = ${common.build_flags} ${common.build_flags_custom}
|
|
upload_speed = 921600
|
|
; comment out next line if using USB and not OTA
|
|
upload_port = "boiler."
|