forked from microsoft/uf2-samdx1
-
Notifications
You must be signed in to change notification settings - Fork 188
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 #190 from CytronTechnologies/add-cytron-maker-zero…
…-samd21 Add new board: Cytron Maker Zero Samd21
- Loading branch information
Showing
2 changed files
with
19 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 = SAMD21G18A |
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 VENDOR_NAME "Cytron Technologies" | ||
#define PRODUCT_NAME "Maker Zero SAMD21" | ||
#define VOLUME_LABEL "ZEROBOOT" | ||
|
||
#define BOARD_ID "SAMD21G18A-Zero-v0" | ||
|
||
#define USB_VID 0x04D8 | ||
#define USB_PID 0xE799 | ||
|
||
#define LED_PIN PIN_PA17 | ||
#define LED_TX_PIN PIN_PA27 | ||
#define LED_RX_PIN PIN_PB03 | ||
|
||
#endif |