forked from microsoft/uf2-samdx1
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from myelin/master
Add support for Myelin Arcflash and POST Box boards
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CHIP_FAMILY = samd21 | ||
CHIP_VARIANT = SAMD21E18A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef BOARD_CONFIG_H | ||
#define BOARD_CONFIG_H | ||
|
||
#define CRYSTALLESS 1 | ||
|
||
#define VENDOR_NAME "Myelin" | ||
#define PRODUCT_NAME "Arcflash" | ||
#define VOLUME_LABEL "ARCBOOT" | ||
#define INDEX_URL "http://myelin.nz/arcflash" | ||
#define BOARD_ID "SAMD21E18A-Arcflash-v3" | ||
|
||
#define USB_VID 0x1209 | ||
#define USB_PID 0xFE07 | ||
|
||
// Board has no LED or Neopixel. | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CHIP_FAMILY = samd21 | ||
CHIP_VARIANT = SAMD21E18A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef BOARD_CONFIG_H | ||
#define BOARD_CONFIG_H | ||
|
||
#define CRYSTALLESS 1 | ||
|
||
#define VENDOR_NAME "Myelin" | ||
#define PRODUCT_NAME "POST Box" | ||
#define VOLUME_LABEL "POSTBOOT" | ||
#define INDEX_URL "http://myelin.nz/acorn/postbox" | ||
#define BOARD_ID "SAMD21E18A-POSTBox-r3" | ||
|
||
#define USB_VID 0x1209 | ||
#define USB_PID 0xFE06 | ||
|
||
#define LED_PIN PIN_PA22 | ||
|
||
#define BOARD_NEOPIXEL_PIN PIN_PA19 | ||
#define BOARD_NEOPIXEL_COUNT 1 | ||
|
||
#endif |