Test adding support for Arduino UNO R4. Code now compiles ok, but needs testing
This commit is contained in:
@@ -264,7 +264,10 @@
|
|||||||
static byte ISRWatch; // Interrupt Handler Edge Filter
|
static byte ISRWatch; // Interrupt Handler Edge Filter
|
||||||
#elif defined ( ARDUINO_AVR_NANO_EVERY )
|
#elif defined ( ARDUINO_AVR_NANO_EVERY )
|
||||||
static PinStatus ISREdge; // Holder of the Next Edge we're looking for: RISING or FALLING
|
static PinStatus ISREdge; // Holder of the Next Edge we're looking for: RISING or FALLING
|
||||||
#elif defined ( ARDUINO_ARCH_RP2040)
|
#elif defined ( ARDUINO_ARCH_RP2040)
|
||||||
|
static PinStatus ISREdge; // Holder of the Next Edge we're looking for: RISING or FALLING
|
||||||
|
static byte ISRWatch; // Interrupt Handler Edge Filter
|
||||||
|
#elif defined ( ARDUINO_ARCH_RENESAS_UNO)
|
||||||
static PinStatus ISREdge; // Holder of the Next Edge we're looking for: RISING or FALLING
|
static PinStatus ISREdge; // Holder of the Next Edge we're looking for: RISING or FALLING
|
||||||
static byte ISRWatch; // Interrupt Handler Edge Filter
|
static byte ISRWatch; // Interrupt Handler Edge Filter
|
||||||
#else
|
#else
|
||||||
|
@@ -127,7 +127,9 @@ typedef struct
|
|||||||
#define PRIO_DCC_IRQ 9
|
#define PRIO_DCC_IRQ 9
|
||||||
#define PRIO_SYSTIC 8 // MUST be higher priority than DCC Irq
|
#define PRIO_SYSTIC 8 // MUST be higher priority than DCC Irq
|
||||||
#elif defined(ARDUINO_ARCH_RP2040)
|
#elif defined(ARDUINO_ARCH_RP2040)
|
||||||
#define MAXCV 256 // todo: maybe somebody knows a good define for it
|
#define MAXCV 256 // todo: maybe somebody knows a good define for it
|
||||||
|
#elif defined ( ARDUINO_ARCH_RENESAS_UNO)
|
||||||
|
#define MAXCV EEPROM.length()
|
||||||
#elif defined(ARDUINO_SAMD_ZERO)
|
#elif defined(ARDUINO_SAMD_ZERO)
|
||||||
#define MAXCV EEPROM_EMULATION_SIZE
|
#define MAXCV EEPROM_EMULATION_SIZE
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user