summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-05-19 10:55:02 -0700
committerScott Shawcroft <scott@tannewt.org>2020-05-19 10:55:02 -0700
commit9eb85a5febeaffa85295c72467b3e4dd6b83a929 (patch)
treec7939ffd4b18fce6396a68615b8a1d079fa436de
parent03b6f7b87b8713af4f52d8d97898dd62937319e6 (diff)
shrink Xinabox CS11 by turning off unused pins
-rw-r--r--ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.h b/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.h
index 9699568da..0b2f99c56 100644
--- a/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.h
+++ b/ports/atmel-samd/boards/xinabox_cs11/mpconfigboard.h
@@ -22,3 +22,34 @@
// USB is always used internally so skip the pin objects for it.
#define IGNORE_PIN_PA24 1
#define IGNORE_PIN_PA25 1
+
+// Turn off pins not in the board mapping to save space. They aren't broken out.
+#define IGNORE_PIN_PA00 1
+#define IGNORE_PIN_PA01 1
+#define IGNORE_PIN_PA02 1
+#define IGNORE_PIN_PA03 1
+
+#define IGNORE_PIN_PB08 1
+#define IGNORE_PIN_PB09 1
+
+#define IGNORE_PIN_PA04 1
+#define IGNORE_PIN_PA05 1
+#define IGNORE_PIN_PA06 1
+#define IGNORE_PIN_PA08 1
+
+#define IGNORE_PIN_PA13 1
+#define IGNORE_PIN_PA14 1
+#define IGNORE_PIN_PA15 1
+#define IGNORE_PIN_PA18 1
+#define IGNORE_PIN_PA20 1
+#define IGNORE_PIN_PA21 1
+
+#define IGNORE_PIN_PB22 1
+#define IGNORE_PIN_PB23 1
+
+#define IGNORE_PIN_PA27 1
+#define IGNORE_PIN_PA28 1
+#define IGNORE_PIN_PA30 1
+#define IGNORE_PIN_PA31 1
+#define IGNORE_PIN_PB02 1
+#define IGNORE_PIN_PB03 1