summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroland van straten <roland@van-straten.org>2019-08-16 10:29:39 +0200
committerDamien George <damien.p.george@gmail.com>2019-08-20 21:30:36 +1000
commitfe3c064d42daeb02ee9a6ac91f657d397c0a20fa (patch)
tree232efae8e2f9ac22f1a3ce8addc4051783ab7ad2
parent05eb897d06cc4da04dd96f3b661b617b98cb6800 (diff)
samd: Add minimum config for Atmel SAMD21-XPLAINED-PRO board.
-rw-r--r--ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.h2
-rw-r--r--ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.mk4
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.h b/ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.h
new file mode 100644
index 000000000..c69b5b4c1
--- /dev/null
+++ b/ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.h
@@ -0,0 +1,2 @@
+#define MICROPY_HW_BOARD_NAME "SAMD21-XPLAINED-PRO"
+#define MICROPY_HW_MCU_NAME "SAMD21J18A"
diff --git a/ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.mk b/ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.mk
new file mode 100644
index 000000000..f95c65493
--- /dev/null
+++ b/ports/samd/boards/SAMD21_XPLAINED_PRO/mpconfigboard.mk
@@ -0,0 +1,4 @@
+MCU_SERIES = SAMD21
+CMSIS_MCU = SAMD21J18A
+LD_FILES = boards/samd21x18a.ld sections.ld
+TEXT0 = 0x2000