mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
Version 1.1. See ChangeLog
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
[platformio]
|
||||
; change this for your ESP8266 device
|
||||
env_default = nodemcuv2
|
||||
; env_default = d1_mini
|
||||
|
||||
[common]
|
||||
platform = espressif8266
|
||||
; optional flags are -DUSE_LED -DSHOWER_TEST -DDEBUG -DUSE_SERIAL -DNO_TX
|
||||
; optional flags are -DUSE_LED -DSHOWER_TEST -DUSE_SERIAL
|
||||
build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400
|
||||
build_flags_custom = '-DWIFI_SSID="my_ssid"' '-DWIFI_PASSWORD="my_password"' '-DMQTT_IP="my_broker_ip"' '-DMQTT_USER="my_broker_username"' '-DMQTT_PASS="my_broker_password"'
|
||||
lib_deps =
|
||||
@@ -12,6 +13,7 @@ lib_deps =
|
||||
PubSubClient
|
||||
ArduinoJson
|
||||
CRC32
|
||||
CircularBuffer
|
||||
|
||||
[env:nodemcuv2]
|
||||
board = nodemcuv2
|
||||
@@ -22,6 +24,10 @@ 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."
|
||||
; examples....
|
||||
;upload_port = "boiler"
|
||||
;upload_port = "boiler.local"
|
||||
;upload_port = 10.10.10.6
|
||||
|
||||
[env:d1_mini]
|
||||
board = d1_mini
|
||||
@@ -32,6 +38,8 @@ 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."
|
||||
; examples....
|
||||
;upload_port = "boiler"
|
||||
;upload_port = "boiler.local"
|
||||
;upload_port = 10.10.10.6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user