Fix CI Build fail due to missing credentials

This commit is contained in:
GHOSCHT 2022-04-10 18:12:58 +02:00
parent 512694c09e
commit c06fe57358
3 changed files with 16 additions and 4 deletions

View file

@ -0,0 +1,7 @@
#ifndef DEBUG
#include <Credentials/Credentials.h>
#endif
#ifdef DEBUG
#define WIFI_SSID "ssid"
#define WIFI_PW "password"
#endif

View file

@ -11,13 +11,18 @@
[platformio]
default_envs = Upload_UART
[env:Upload_UART]
[env]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
upload_port = COM8
monitor_port = COM8
lib_deps =
erropix/ESP32 AnalogWrite@^0.2
ESP Async WebServer
board_build.partitions = huge_app.csv
[env:Upload_UART]
upload_port = COM8
monitor_port = COM8
[env:CI_Build]
build_flags = -D DEBUG=1

View file

@ -7,7 +7,7 @@
#include <esp_spi_flash.h>
#include <WiFi.h>
#include <ESPAsyncWebServer.h>
#include <Credentials/Credentials.h>
#include <Credentials/CredentialManager.h>
const int STEPS = 5;
const int WIFI_TIMEOUT = 20;