ESP/platformio.ini

35 lines
911 B
INI
Executable File

; 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
[env:nodemcuv2]
; CXXFLAGS = -W -Wall -Wextra -Werror -std=c++11
lib_deps =
ArduinoJson@5.13.4
DallasTemperature
Streaming
WebSockets
OneWire
ArduinoLog
platform = espressif8266
board = nodemcuv2
framework = arduino
upload_speed = 460800
monitor_speed = 115200
board_build.f_cpu = 160000000L
; upload_port = 192.168.1.103
; upload_protocol = espota
; upload_flags =
; --ip=192.168.1.103
; --port=8266
; --auth=esp8266
build_flags =
-DLC_WIFI_SSID=${sysenv.WIFI_SSID}
-DLC_WIFI_PASS=${sysenv.WIFI_PASS}