Skip to content

Commit

Permalink
Merge pull request #71 from adafruit/pr-to-microsoft-2019-04-16
Browse files Browse the repository at this point in the history
Many new boards and corrections; SAMD fuse repair
  • Loading branch information
mmoskal authored Apr 16, 2019
2 parents 61b7505 + 2e5ac49 commit d8dcad0
Show file tree
Hide file tree
Showing 31 changed files with 370 additions and 23 deletions.
2 changes: 2 additions & 0 deletions boards/crickit/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
19 changes: 19 additions & 0 deletions boards/crickit/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "crickit"
#define VOLUME_LABEL "CRICKITBOOT"
#define INDEX_URL "http://adafru.it/"
#define BOARD_ID "SAMD21G18A-crickit-v0"

#define USB_VID 0x239A
#define USB_PID 0x002D

#define LED_PIN PIN_PB22

#define BOARD_NEOPIXEL_PIN PIN_PA27
#define BOARD_NEOPIXEL_COUNT 1


#endif
8 changes: 2 additions & 6 deletions boards/feather_m0/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@
#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Feather M0"
#define VOLUME_LABEL "FEATHERBOOT"
#define INDEX_URL "http://adafru.it/3403"
#define INDEX_URL "http://adafru.it/"
#define BOARD_ID "SAMD21G18A-Feather-v0"

#define USB_VID 0x239A
#define USB_PID 0x001B
#define USB_PID 0x0015

#define LED_PIN PIN_PA17

#define BOARD_NEOPIXEL_PIN PIN_PA06
#define BOARD_NEOPIXEL_COUNT 1


#endif
2 changes: 2 additions & 0 deletions boards/feather_m0_express/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
19 changes: 19 additions & 0 deletions boards/feather_m0_express/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Feather M0 Express"
#define VOLUME_LABEL "FEATHERBOOT"
#define INDEX_URL "http://adafru.it/3403"
#define BOARD_ID "SAMD21G18A-Feather-M0-Express-v0"

#define USB_VID 0x239A
#define USB_PID 0x001B

#define LED_PIN PIN_PA17

#define BOARD_NEOPIXEL_PIN PIN_PA06
#define BOARD_NEOPIXEL_COUNT 1


#endif
6 changes: 3 additions & 3 deletions boards/feather_m4/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Feather M4"
#define PRODUCT_NAME "Feather M4 Express"
#define VOLUME_LABEL "FEATHERBOOT"
#define INDEX_URL "http://adafru.it/3505"
#define INDEX_URL "http://adafru.it/3857"
#define BOARD_ID "SAMD51J19A-FeatherM4-v0"

#define USB_VID 0x239A
#define USB_PID 0x0022

#define LED_PIN PIN_PA23

#define BOARD_NEOPIXEL_PIN PIN_PB23
#define BOARD_NEOPIXEL_PIN PIN_PB03
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM0
Expand Down
2 changes: 2 additions & 0 deletions boards/grandcentral_m4/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51P20A
31 changes: 31 additions & 0 deletions boards/grandcentral_m4/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Grand Central M4 Express"
#define VOLUME_LABEL "GCM4BOOT"
#define INDEX_URL "http://adafru.it/4064"
#define BOARD_ID "SAMD51P20A-GrandCentral-v0"

#define USB_VID 0x239A
#define USB_PID 0x0031

#define LED_PIN PIN_PB01
#define LED_TX_PIN PIN_PC30
#define LED_RX_PIN PIN_PC31

#define BOARD_NEOPIXEL_PIN PIN_PC24
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM0
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBAMASK_SERCOM0
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
#define BOOT_USART_PAD2 PINMUX_UNUSED
#define BOOT_USART_PAD1 PINMUX_PB25C_SERCOM0_PAD1
#define BOOT_USART_PAD0 PINMUX_PB24C_SERCOM0_PAD0
#define BOOT_GCLK_ID_CORE SERCOM0_GCLK_ID_CORE
#define BOOT_GCLK_ID_SLOW SERCOM0_GCLK_ID_SLOW

#endif
2 changes: 2 additions & 0 deletions boards/hallowing_m0/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
19 changes: 19 additions & 0 deletions boards/hallowing_m0/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Hallowing M0"
#define VOLUME_LABEL "HALLOWBOOT"
#define INDEX_URL "http://adafru.it/3900"
#define BOARD_ID "SAMD21G18A-Hallowing-v0"

#define USB_VID 0x239A
#define USB_PID 0xB000

#define LED_PIN PIN_PA23

#define BOARD_NEOPIXEL_PIN PIN_PA12
#define BOARD_NEOPIXEL_COUNT 1


#endif
2 changes: 2 additions & 0 deletions boards/itsybitsy_m4/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51G19A
31 changes: 31 additions & 0 deletions boards/itsybitsy_m4/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define CRYSTALLESS 1

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "ItsyBitsy M4 Express"
#define VOLUME_LABEL "ITSYM4BOOT"
#define INDEX_URL "http://adafru.it/"
#define BOARD_ID "SAMD51G19A-Itsy-v0"

#define USB_VID 0x239A
#define USB_PID 0x002B

#define LED_PIN PIN_PA22

#define BOARD_RGBLED_CLOCK_PIN PIN_PB02
#define BOARD_RGBLED_DATA_PIN PIN_PB03

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
#define BOOT_USART_PAD2 PINMUX_UNUSED
#define BOOT_USART_PAD1 PINMUX_PA22C_SERCOM3_PAD0
#define BOOT_USART_PAD0 PINMUX_PA23C_SERCOM3_PAD1
#define BOOT_GCLK_ID_CORE SERCOM3_GCLK_ID_CORE
#define BOOT_GCLK_ID_SLOW SERCOM3_GCLK_ID_SLOW

#endif
2 changes: 2 additions & 0 deletions boards/metro_m4_airlift/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51J19A
31 changes: 31 additions & 0 deletions boards/metro_m4_airlift/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Metro M4 AirLift"
#define VOLUME_LABEL "METROM4BOOT"
#define INDEX_URL "http://adafru.it/"
#define BOARD_ID "SAMD51J19A-Metro-AirLift-v0"

#define USB_VID 0x239A
#define USB_PID 0x0037

#define LED_PIN PIN_PA16
#define LED_TX_PIN PIN_PB07
#define LED_RX_PIN PIN_PB06

#define BOARD_NEOPIXEL_PIN PIN_PB22
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
#define BOOT_USART_PAD2 PINMUX_UNUSED
#define BOOT_USART_PAD1 PINMUX_PA22C_SERCOM3_PAD0
#define BOOT_USART_PAD0 PINMUX_PA23C_SERCOM3_PAD1
#define BOOT_GCLK_ID_CORE SERCOM3_GCLK_ID_CORE
#define BOOT_GCLK_ID_SLOW SERCOM3_GCLK_ID_SLOW

#endif
2 changes: 2 additions & 0 deletions boards/mini_sam_m4/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51G19A
29 changes: 29 additions & 0 deletions boards/mini_sam_m4/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Benjamin Shockley"
#define PRODUCT_NAME "Mini SAM M4"
#define VOLUME_LABEL "MINISAMBOOT"
#define INDEX_URL "https://minisam.cc"
#define BOARD_ID "SAMD51G19A-MiniSamM4-v0"

#define USB_VID 0x1209
#define USB_PID 0x2017

#define LED_PIN PIN_PA15

#define BOARD_RGBLED_CLOCK_PIN PIN_PB02
#define BOARD_RGBLED_DATA_PIN PIN_PB03

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
#define BOOT_USART_PAD2 PINMUX_UNUSED
#define BOOT_USART_PAD1 PINMUX_PA22C_SERCOM3_PAD0
#define BOOT_USART_PAD0 PINMUX_PA23C_SERCOM3_PAD1
#define BOOT_GCLK_ID_CORE SERCOM3_GCLK_ID_CORE
#define BOOT_GCLK_ID_SLOW SERCOM3_GCLK_ID_SLOW

#endif
2 changes: 2 additions & 0 deletions boards/mkrzero/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
16 changes: 16 additions & 0 deletions boards/mkrzero/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Arduino LLC"
#define PRODUCT_NAME "Arduino MKRZero"
#define VOLUME_LABEL "MKRZEROBOOT"

#define BOARD_ID "SAMD21G18A-MKRZero-v0"

// Adafruit VID/PID assigned to MKRZero for hobby use
#define USB_VID 0x239A
#define USB_PID 0x0035

#define LED_PIN PIN_PB08

#endif
4 changes: 2 additions & 2 deletions boards/pirkey/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#define CRYSTALLESS 1

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "pIRKey"
#define PRODUCT_NAME "pIRKey M0"
#define VOLUME_LABEL "PIRKEYBOOT"
#define INDEX_URL "http://adafru.it/"
#define INDEX_URL "http://adafru.it/3364"
#define BOARD_ID "SAMD21E18A-pIRKey-v0"

#define USB_VID 0x239A
Expand Down
2 changes: 2 additions & 0 deletions boards/pyportal_m4/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51J20A
31 changes: 31 additions & 0 deletions boards/pyportal_m4/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "PyPortal M4 Express"
#define VOLUME_LABEL "PORTALBOOT"
#define INDEX_URL "http://adafru.it/4116"
#define BOARD_ID "SAMD51J20A-PyPortal-v0"

#define CRYSTALLESS 1

#define USB_VID 0x239A
#define USB_PID 0x0035

#define LED_PIN PIN_PB23

#define BOARD_NEOPIXEL_PIN PIN_PB22
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM5
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBDMASK_SERCOM5
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
#define BOOT_USART_PAD2 PINMUX_UNUSED
#define BOOT_USART_PAD1 PINMUX_PB03D_SERCOM5_PAD1
#define BOOT_USART_PAD0 PINMUX_PB02D_SERCOM5_PAD0
#define BOOT_GCLK_ID_CORE SERCOM0_GCLK_ID_CORE
#define BOOT_GCLK_ID_SLOW SERCOM0_GCLK_ID_SLOW

#endif
2 changes: 2 additions & 0 deletions boards/radiofruit_m0/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
19 changes: 19 additions & 0 deletions boards/radiofruit_m0/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Radiofruit M0"
#define VOLUME_LABEL "RADIOBOOT"
#define INDEX_URL "http://adafru.it/3403"
#define BOARD_ID "SAMR21G18A-Radiofruit-v0"

#define USB_VID 0x239A
#define USB_PID 0x0024

#define LED_PIN PIN_PA27

#define BOARD_NEOPIXEL_PIN PIN_PA22
#define BOARD_NEOPIXEL_COUNT 1


#endif
2 changes: 2 additions & 0 deletions boards/sam32/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51J20A
29 changes: 29 additions & 0 deletions boards/sam32/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define VENDOR_NAME "maholli"
#define PRODUCT_NAME "SAM32"
#define VOLUME_LABEL "SAM32BOOT"
#define INDEX_URL "https://github.com/maholli"
#define BOARD_ID "SAM32"

#define USB_VID 0x04D8
#define USB_PID 0xEDBE // PID sublicensed from Microchip

#define LED_PIN PIN_PA27

#define BOARD_NEOPIXEL_PIN PIN_PA15
#define BOARD_NEOPIXEL_COUNT 1

#define BOOT_USART_MODULE SERCOM3
#define BOOT_USART_MASK APBAMASK
#define BOOT_USART_BUS_CLOCK_INDEX MCLK_APBBMASK_SERCOM3
#define BOOT_USART_PAD_SETTINGS UART_RX_PAD1_TX_PAD0
#define BOOT_USART_PAD3 PINMUX_UNUSED
#define BOOT_USART_PAD2 PINMUX_UNUSED
#define BOOT_USART_PAD1 PINMUX_PA22C_SERCOM3_PAD0
#define BOOT_USART_PAD0 PINMUX_PA23C_SERCOM3_PAD1
#define BOOT_GCLK_ID_CORE SERCOM3_GCLK_ID_CORE
#define BOOT_GCLK_ID_SLOW SERCOM3_GCLK_ID_SLOW

#endif
2 changes: 1 addition & 1 deletion boards/sparkfun-samd21-dev/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define BOARD_ID "SAMD21G18A-Dev-Sparkfun-v0"

#define USB_VID 0x1B4F
#define USB_PID 0x0D21
#define USB_PID 0x0D23

#define LED_PIN PIN_PA17

Expand Down
2 changes: 1 addition & 1 deletion boards/sparkfun-samd21-mini/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define BOARD_ID "SAMD21G18A-Mini-Sparkfun-v0"

#define USB_VID 0x1B4F
#define USB_PID 0x0D21
#define USB_PID 0x0D22

#define LED_PIN PIN_PA17

Expand Down
2 changes: 2 additions & 0 deletions boards/trellis_m4/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd51
CHIP_VARIANT = SAMD51G19A
Loading

0 comments on commit d8dcad0

Please sign in to comment.