add BLM badge bootloader
This commit is contained in:
parent
f6e4bc6834
commit
65e623b5a1
2 changed files with 22 additions and 0 deletions
2
boards/blm_badge/board.mk
Normal file
2
boards/blm_badge/board.mk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CHIP_FAMILY = samd21
|
||||
CHIP_VARIANT = SAMD21E18A
|
||||
20
boards/blm_badge/board_config.h
Normal file
20
boards/blm_badge/board_config.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef BOARD_CONFIG_H
|
||||
#define BOARD_CONFIG_H
|
||||
|
||||
#define CRYSTALLESS 1
|
||||
|
||||
#define VENDOR_NAME "Adafruit Industries"
|
||||
#define PRODUCT_NAME "BLM Badge"
|
||||
#define VOLUME_LABEL "BADGEBOOT"
|
||||
#define INDEX_URL "https://www.adafruit.com/blacklivesmatter"
|
||||
#define BOARD_ID "SAMD21E18A-BLMbadge-v0"
|
||||
|
||||
#define USB_VID 0x239A
|
||||
#define USB_PID 0x00BF
|
||||
|
||||
#define LED_PIN PIN_PA03
|
||||
|
||||
#define BOARD_NEOPIXEL_PIN PIN_PA05
|
||||
#define BOARD_NEOPIXEL_COUNT 6
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue