We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa52b22 + 6231d22 commit a728538Copy full SHA for a728538
boards/xplained-pro/board.mk
@@ -0,0 +1,2 @@
1
+CHIP_FAMILY = samd21
2
+CHIP_VARIANT = SAMD21J18A
boards/xplained-pro/board_config.h
@@ -0,0 +1,18 @@
+#ifndef BOARD_CONFIG_H
+#define BOARD_CONFIG_H
3
+
4
+#define __SAMD21J18A__ 1
5
6
+#define VENDOR_NAME "Microchip"
7
+#define PRODUCT_NAME "SAMD21 Xplained Pro"
8
+#define VOLUME_LABEL "SAMD21XPL"
9
10
+#define USB_VID 0x04D8 // Microchip
11
+#define USB_PID 0x2402 // Generic HID device
12
13
+#define BOARD_ID "SAMD21J18A-Xplained-Pro"
14
15
+#define LED_PIN PIN_PB30
16
17
18
+#endif
0 commit comments