add BLM badge bootloader

This commit is contained in:
lady ada 2020-08-23 19:47:51 -04:00
parent f6e4bc6834
commit 65e623b5a1
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21E18A

View 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