mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
small updates
This commit is contained in:
33
platformio.ini-example
Normal file
33
platformio.ini-example
Normal file
@@ -0,0 +1,33 @@
|
||||
[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."
|
||||
Reference in New Issue
Block a user