1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 08:06:13 +01:00

Update defines.h

Avoid Wifi on uniwifirev2 untile we have a proper wifinina interface.
This commit is contained in:
Asbelos 2022-07-06 23:46:00 +01:00
parent 12b5c2cdba
commit 108c5050ad

View File

@ -54,6 +54,7 @@
#define ARDUINO_TYPE "MEGA" #define ARDUINO_TYPE "MEGA"
#elif defined(ARDUINO_ARCH_MEGAAVR) #elif defined(ARDUINO_ARCH_MEGAAVR)
#define ARDUINO_TYPE "MEGAAVR" #define ARDUINO_TYPE "MEGAAVR"
#undef HAS_ENOUGH_MEMORY
#elif defined(ARDUINO_TEENSY32) #elif defined(ARDUINO_TEENSY32)
#define ARDUINO_TYPE "TEENSY32" #define ARDUINO_TYPE "TEENSY32"
#elif defined(ARDUINO_TEENSY35) #elif defined(ARDUINO_TEENSY35)
@ -73,6 +74,13 @@
#elif defined(ARDUINO_ARCH_SAMD) #elif defined(ARDUINO_ARCH_SAMD)
#define ARDUINO_TYPE "SAMD21" #define ARDUINO_TYPE "SAMD21"
#undef HAS_AVR_WDT #undef HAS_AVR_WDT
/* TODO when ready
#elif defined(ARDUINO_ARCH_RP2040)
#define ARDUINO_TYPE "RP2040"
#undef HAS_AVR_WDT
*/
#else #else
#define CPU_TYPE_ERROR #define CPU_TYPE_ERROR
#endif #endif