// #define Tyeth 1
//-DBOARD=feather-esp32s2
//#define BOARD_ID=adafruit_qtpy_esp32s2
// #define WIFI_SSID WOKWI_GUEST
// #define WIFI_PASSWO
#define MY_FLAG "-DTYETH=1 -DARDUINO_ADAFRUIT_FEATHER_ESP32S2 -DBOARD_ID=feather-esp32s2"
#pragma GCC push_options
#pragma GCC optimize (MY_FLAG)
#ifdef TYETH
//#pragma GCC optimize "-D ARDUINO_ADAFRUIT_FEATHER_ESP32S2 -D BOARD_ID=feather-esp32s2"
#include "wippersnapper_board_def.h"
#include "Wippersnapper_Networking.h"
#else
#define TESTTEST "TEST"
#include "wippersnapper_board_def.h"
#include "Wippersnapper_Networking.h"
#endif
Wippersnapper_WiFi wipper;
// Enable debug output for beta builds
#define WS_DEBUG
void setup() {
// Provisioning must occur prior to serial init.
wipper.provision();
Serial.begin(115200);
Serial.println("Hello, ESP32-S2!");
//while (!Serial) delay(10);
wipper.connect();
}
void loop() {
// put your main code here, to run repeatedly:
delay(50); // this speeds up the simulation
wipper.run();
}
#pragma GCC pop_options