You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
303 B
C++
21 lines
303 B
C++
4 years ago
|
#ifndef _MCU_H_
|
||
|
#define _MCU_H_
|
||
|
|
||
|
#define MCU_ARCH_ARM (0)
|
||
|
#define MCU_ARCH_ARM64 (1)
|
||
|
#define MCU_ARCH_AVR (2)
|
||
|
|
||
|
#define MCU_MANUF_MICROCHIP (0)
|
||
|
|
||
|
#define MCU_TYPE atsamd2x
|
||
|
|
||
|
#define MCU_ARCH MCU_ARCH_ARM
|
||
|
#define MCU_MANUF MCU_MANUF_MICROCHIP
|
||
|
|
||
|
|
||
|
#if MCU_ARCH == MCU_ARCH_ARM
|
||
|
typedef mcu
|
||
|
#elif
|
||
|
|
||
|
#endif
|