From 069fdc75a351e8d9c6d237911778aa1a3c2b0a1a Mon Sep 17 00:00:00 2001 From: lady ada Date: Sat, 20 Mar 2021 11:13:24 -0400 Subject: [PATCH] :) rotary! --- boards/rotary_trinkey_m0/board.mk | 2 ++ boards/rotary_trinkey_m0/board_config.h | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 boards/rotary_trinkey_m0/board.mk create mode 100644 boards/rotary_trinkey_m0/board_config.h diff --git a/boards/rotary_trinkey_m0/board.mk b/boards/rotary_trinkey_m0/board.mk new file mode 100644 index 00000000..26d9e3d8 --- /dev/null +++ b/boards/rotary_trinkey_m0/board.mk @@ -0,0 +1,2 @@ +CHIP_FAMILY = samd21 +CHIP_VARIANT = SAMD21E18A diff --git a/boards/rotary_trinkey_m0/board_config.h b/boards/rotary_trinkey_m0/board_config.h new file mode 100644 index 00000000..8e1130e5 --- /dev/null +++ b/boards/rotary_trinkey_m0/board_config.h @@ -0,0 +1,19 @@ +#ifndef BOARD_CONFIG_H +#define BOARD_CONFIG_H + +#define CRYSTALLESS 1 + +#define VENDOR_NAME "Adafruit Industries" +#define PRODUCT_NAME "Rotary Trinkey M0" +#define VOLUME_LABEL "TRINKEYBOOT" +#define INDEX_URL "http://adafru.it/4964" +#define BOARD_ID "SAMD21E18A-RotaryTrinkey-v0" + +#define USB_VID 0x239A +#define USB_PID 0x00FB + + +#define BOARD_NEOPIXEL_PIN PIN_PA01 +#define BOARD_NEOPIXEL_COUNT 1 + +#endif