From c040dd1eb2691fd45d9d504a16df212f449acfcc Mon Sep 17 00:00:00 2001
From: ladyada <limor@ladyada.net>
Date: Mon, 4 Mar 2024 23:18:29 -0500
Subject: [PATCH] nu trinkey

---
 boards/sht4x_trinkey_m0/board.mk       |  2 ++
 boards/sht4x_trinkey_m0/board_config.h | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 boards/sht4x_trinkey_m0/board.mk
 create mode 100644 boards/sht4x_trinkey_m0/board_config.h

diff --git a/boards/sht4x_trinkey_m0/board.mk b/boards/sht4x_trinkey_m0/board.mk
new file mode 100644
index 00000000..26d9e3d8
--- /dev/null
+++ b/boards/sht4x_trinkey_m0/board.mk
@@ -0,0 +1,2 @@
+CHIP_FAMILY = samd21
+CHIP_VARIANT = SAMD21E18A
diff --git a/boards/sht4x_trinkey_m0/board_config.h b/boards/sht4x_trinkey_m0/board_config.h
new file mode 100644
index 00000000..a48c32cc
--- /dev/null
+++ b/boards/sht4x_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 "SHT4x Trinkey M0"
+#define VOLUME_LABEL "TRINKEYBOOT"
+#define INDEX_URL "http://adafru.it/5896"
+#define BOARD_ID "SAMD21E18A-SHT4xTrinkey-v0"
+
+#define USB_VID 0x239A
+#define USB_PID 0x0135
+
+
+#define BOARD_NEOPIXEL_PIN PIN_PA03
+#define BOARD_NEOPIXEL_COUNT 1
+
+#endif