From d39db49b7d4e1d64d8cb91d94fc83a894e6babb8 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Thu, 20 Jan 2022 19:16:15 -0500 Subject: [PATCH] Delete defines.h --- .../Alarm/RP2040_RTC_Alarm_WiFiNINA/defines.h | 74 ------------------- 1 file changed, 74 deletions(-) delete mode 100644 examples/Alarm/RP2040_RTC_Alarm_WiFiNINA/defines.h diff --git a/examples/Alarm/RP2040_RTC_Alarm_WiFiNINA/defines.h b/examples/Alarm/RP2040_RTC_Alarm_WiFiNINA/defines.h deleted file mode 100644 index f5aabbd..0000000 --- a/examples/Alarm/RP2040_RTC_Alarm_WiFiNINA/defines.h +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************************************************************** - defines.h - - For RP2040-based boards using internal RTC - with WiFiNINA, ESP8266/ESP32 WiFi, ESP8266-AT, W5x00, ENC28J60, LAN8742A Ethernet modules/shields - - Built by Khoi Hoang https://github.com/khoih-prog/RP2040_RTC - Licensed under MIT license - *****************************************************************************************************************************/ - -#ifndef defines_h -#define defines_h - -#define DEBUG_WIFI_WEBSERVER_PORT Serial - -// Debug Level from 0 to 4 -#define _WIFI_LOGLEVEL_ 3 -#define _WIFININA_LOGLEVEL_ 4 - -#define USE_WIFI_NINA true -//#define USE_WIFI_NINA false - -#if USE_WIFI_NINA - #warning Using WiFiNINA using WiFiNINA_Generic Library - #define SHIELD_TYPE "WiFiNINA using WiFiNINA_Generic Library" -#endif - -#if ( defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) ) - #if defined(WIFININA_USE_RP2040) - #undef WIFININA_USE_RP2040 - #endif - #define WIFININA_USE_RP2040 true - - #if defined(ARDUINO_ARCH_MBED) - - #if defined(BOARD_NAME) - #undef BOARD_NAME - #endif - - #if defined(ARDUINO_NANO_RP2040_CONNECT) - #define BOARD_NAME "MBED NANO_RP2040_CONNECT" - #elif defined(ARDUINO_RASPBERRY_PI_PICO) - #define BOARD_NAME "MBED RASPBERRY_PI_PICO" - #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) - #define BOARD_NAME "MBED DAFRUIT_FEATHER_RP2040" - #elif defined(ARDUINO_GENERIC_RP2040) - #define BOARD_NAME "MBED GENERIC_RP2040" - #else - #define BOARD_NAME "MBED Unknown RP2040" - #endif - - #endif - -#else - #error This code is not designed to run on RP2040 platform! Please check your Tools->Board setting. -#endif - -#ifndef BOARD_NAME - #if defined(ARDUINO_BOARD) - #define BOARD_NAME ARDUINO_BOARD - #else - #define BOARD_NAME BOARD_TYPE - #endif -#endif - -#include -#include - -char ssid[] = "HueNet1"; // your network SSID (name) -char pass[] = "jenniqqs"; // your network password -//char ssid[] = "ssid"; // your network SSID (name) -//char pass[] = "12345678"; // your network password - -#endif //defines_h