From 7818d29ba226401faed5ae78e46a936368d3f1d8 Mon Sep 17 00:00:00 2001 From: ealasu Date: Wed, 17 Jun 2020 21:03:04 -0700 Subject: [PATCH 1/2] Add support for Tau board --- boards/tau/board.mk | 2 ++ boards/tau/board_config.h | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 boards/tau/board.mk create mode 100644 boards/tau/board_config.h diff --git a/boards/tau/board.mk b/boards/tau/board.mk new file mode 100644 index 00000000..75c8a340 --- /dev/null +++ b/boards/tau/board.mk @@ -0,0 +1,2 @@ +CHIP_FAMILY = samd21 +CHIP_VARIANT = SAMD21E17A diff --git a/boards/tau/board_config.h b/boards/tau/board_config.h new file mode 100644 index 00000000..71f6fadc --- /dev/null +++ b/boards/tau/board_config.h @@ -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 0x2341 +#define USB_PID 0x004d + +#define LED_PIN PIN_PA27 + +// This is needed because SAMD21E17A only has 128kB of flash +#define FLASH_NUM_ROWS 512 + +#endif From adb917c8b1fc98d7029bad7b152c5c1bb98d0909 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Wed, 16 Dec 2020 12:49:45 -0500 Subject: [PATCH 2/2] supply USB VID/PID --- boards/tau/board_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/tau/board_config.h b/boards/tau/board_config.h index 71f6fadc..a02eb4ba 100644 --- a/boards/tau/board_config.h +++ b/boards/tau/board_config.h @@ -7,8 +7,8 @@ #define INDEX_URL "https://rabidprototypes.com/product/tau" #define BOARD_ID "SAMD21E17A-Tau-v0" -#define USB_VID 0x2341 -#define USB_PID 0x004d +#define USB_VID 0x230a +#define USB_PID 0x00E9 #define LED_PIN PIN_PA27