diff --git a/boards/xplained-pro/board.mk b/boards/xplained-pro/board.mk new file mode 100644 index 00000000..a6f17b59 --- /dev/null +++ b/boards/xplained-pro/board.mk @@ -0,0 +1,2 @@ +CHIP_FAMILY = samd21 +CHIP_VARIANT = SAMD21J18A diff --git a/boards/xplained-pro/board_config.h b/boards/xplained-pro/board_config.h new file mode 100644 index 00000000..6b312ba3 --- /dev/null +++ b/boards/xplained-pro/board_config.h @@ -0,0 +1,18 @@ +#ifndef BOARD_CONFIG_H +#define BOARD_CONFIG_H + +#define __SAMD21J18A__ 1 + +#define VENDOR_NAME "Microchip" +#define PRODUCT_NAME "SAMD21 Xplained Pro" +#define VOLUME_LABEL "SAMD21XPL" + +#define USB_VID 0x04D8 // Microchip +#define USB_PID 0x2402 // Generic HID device + +#define BOARD_ID "SAMD21J18A-Xplained-Pro" + +#define LED_PIN PIN_PB30 + + +#endif