From 0aa0c6319a50c401f09528b0ab3d126bc83a4679 Mon Sep 17 00:00:00 2001
From: dean <deanm1278@gmail.com>
Date: Thu, 19 Jul 2018 17:16:42 -0400
Subject: [PATCH] DM: rename radiofruit

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

diff --git a/boards/radiofruit_m0/board.mk b/boards/radiofruit_m0/board.mk
new file mode 100644
index 0000000..0a90fdf
--- /dev/null
+++ b/boards/radiofruit_m0/board.mk
@@ -0,0 +1,2 @@
+CHIP_FAMILY = samd21
+CHIP_VARIANT = SAMD21G18A
diff --git a/boards/radiofruit_m0/board_config.h b/boards/radiofruit_m0/board_config.h
new file mode 100644
index 0000000..c8a59fe
--- /dev/null
+++ b/boards/radiofruit_m0/board_config.h
@@ -0,0 +1,19 @@
+#ifndef BOARD_CONFIG_H
+#define BOARD_CONFIG_H
+
+#define VENDOR_NAME "Adafruit Industries"
+#define PRODUCT_NAME "Radiofruit M0"
+#define VOLUME_LABEL "RADIOBOOT"
+#define INDEX_URL "http://adafru.it/3403"
+#define BOARD_ID "SAMR21G18A-Radiofruit-v0"
+
+#define USB_VID 0x239A
+#define USB_PID 0x0024
+
+#define LED_PIN PIN_PA27
+
+#define BOARD_NEOPIXEL_PIN PIN_PA22
+#define BOARD_NEOPIXEL_COUNT 1
+
+
+#endif
-- 
GitLab