forked from microsoft/uf2-samdx1
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for Tau board * supply USB VID/PID Co-authored-by: Dan Halbert <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 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 = SAMD21E17A |
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,18 @@ | ||
#ifndef BOARD_CONFIG_H | ||
#define BOARD_CONFIG_H | ||
|
||
#define VENDOR_NAME "Rabid Prototypes" | ||
#define PRODUCT_NAME "Tau" | ||
#define VOLUME_LABEL "TAU_BOOT" | ||
#define INDEX_URL "https://rabidprototypes.com/product/tau" | ||
#define BOARD_ID "SAMD21E17A-Tau-v0" | ||
|
||
#define USB_VID 0x230a | ||
#define USB_PID 0x00E9 | ||
|
||
#define LED_PIN PIN_PA27 | ||
|
||
// This is needed because SAMD21E17A only has 128kB of flash | ||
#define FLASH_NUM_ROWS 512 | ||
|
||
#endif |