File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ CHIP_FAMILY = samd51
2
+ CHIP_VARIANT = SAMD51J19A
Original file line number Diff line number Diff line change
1
+ #ifndef BOARD_CONFIG_H
2
+ #define BOARD_CONFIG_H
3
+
4
+ #define VENDOR_NAME "Adafruit Industries"
5
+ #define PRODUCT_NAME "Matrix Portal M4"
6
+ #define VOLUME_LABEL "MATRIXBOOT"
7
+ #define INDEX_URL "http://adafru.it/4745"
8
+ #define BOARD_ID "SAMD51J19A-MatrixPortal-v0"
9
+
10
+ #define USB_VID 0x239A
11
+ #define USB_PID 0x00C9
12
+
13
+ //#define LED_PIN PIN_PA23
14
+
15
+ #define BOARD_NEOPIXEL_PIN PIN_PA23
16
+ #define BOARD_NEOPIXEL_COUNT 1
17
+
18
+ #define BOOT_USART_MODULE SERCOM1
19
+ #define BOOT_USART_MASK APBAMASK
20
+ #define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBAMASK_SERCOM0
21
+ #define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
22
+ #define BOOT_USART_PAD3 PINMUX_UNUSED
23
+ #define BOOT_USART_PAD2 PINMUX_UNUSED
24
+ #define BOOT_USART_PAD1 PINMUX_PA01D_SERCOM1_PAD1
25
+ #define BOOT_USART_PAD0 PINMUX_PA00D_SERCOM1_PAD0
26
+ #define BOOT_GCLK_ID_CORE SERCOM1_GCLK_ID_CORE
27
+ #define BOOT_GCLK_ID_SLOW SERCOM1_GCLK_ID_SLOW
28
+
29
+ #endif
You can’t perform that action at this time.
0 commit comments