I need to detect the target architecture during compile within the Arduino or PlatformIO IDEs. Most target boards have a definition like ARDUINO_ARCH_XXXXX. Where XXXXX is the MCU. Some of the previous Teensy's have this defined (ARDUINO_ARCH_AVR - which I think maybe wrong as an additional issue), but not for the Teensy 4.1 in the TeensyDuino files. Is it defined anywhere, if not can it be added please?
Example:
#ifdef ARDUINO_ARCH_RP2040
#define rebootCore rp2040.restart
#endif
Cheers.
Example:
#ifdef ARDUINO_ARCH_RP2040
#define rebootCore rp2040.restart
#endif
Cheers.