From 73a451a1c76aa58ca43f9a83d4b814e8cdcae68e Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Fri, 19 Jul 2019 12:40:23 +0200 Subject: [PATCH] store WiFi config in environment variables --- platformio.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platformio.ini b/platformio.ini index 68a6051..606f8a3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,6 +16,10 @@ board = lolin_d32_pro build_flags = -DBOARD_HAS_PSRAM -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 = ; ArduinoJSON