Browse Source

store WiFi config in environment variables

split_files
Hendrik Langer 5 years ago
parent
commit
73a451a1c7
  1. 4
      platformio.ini

4
platformio.ini

@ -16,6 +16,10 @@ board = lolin_d32_pro
build_flags = build_flags =
-DBOARD_HAS_PSRAM -DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-issue
-DWIFI_SSID=${sysenv.WIFI_SSID}
-DWIFI_PASSWD=${sysenv.WIFI_PASSWD}
-DWIFI_SSID2=${sysenv.WIFI_SSID}
-DWIFI_PASSWD2=${sysenv.WIFI_PASSWD}
;lib_deps = ;lib_deps =
; ArduinoJSON ; ArduinoJSON

Loading…
Cancel
Save