summaryrefslogtreecommitdiff
path: root/keyboards/handwired/symmetric70_proto/promicro/fast
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-07-14 10:30:28 -0700
committerZach White <skullydazed@gmail.com>2021-07-14 10:30:28 -0700
commit44d322623eb875f6eb2e0a317c76af2d47f7a9dc (patch)
treeab722bcc4cea4e4ed16f0a5dce0602fe1f2c63e5 /keyboards/handwired/symmetric70_proto/promicro/fast
parent52cfc9259b58a3a11a244fbe35c49c7dd1a9cae0 (diff)
parentffdfe3798bc7bd374991abe8f10494f2e73aedd5 (diff)
Merge remote-tracking branch 'origin/master' into develop
Resolved Conflicts: keyboards/checkerboards/nop60/info.json
Diffstat (limited to 'keyboards/handwired/symmetric70_proto/promicro/fast')
-rw-r--r--keyboards/handwired/symmetric70_proto/promicro/fast/config.h52
-rw-r--r--keyboards/handwired/symmetric70_proto/promicro/fast/readme.md1
-rw-r--r--keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk6
3 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/handwired/symmetric70_proto/promicro/fast/config.h b/keyboards/handwired/symmetric70_proto/promicro/fast/config.h
new file mode 100644
index 0000000000..2553de1ab3
--- /dev/null
+++ b/keyboards/handwired/symmetric70_proto/promicro/fast/config.h
@@ -0,0 +1,52 @@
+/*
+Copyright 2021 mtei
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+#pragma once
+
+#define MATRIX_OUT_PORTS \
+ (Port_D, MCU_GPIO, D0), \
+ (Port_C, MCU_GPIO, C0), \
+ (Port_E, MCU_GPIO, E0), \
+ (Port_B, MCU_GPIO, B0)
+#define MATRIX_OUT_PINS \
+ (0, Port_D, 4), \
+ (1, Port_C, 6), \
+ (2, Port_D, 7), \
+ (3, Port_E, 6), \
+ (4, Port_B, 4)
+#define MATRIX_EXTENSION_74HC157 B5
+#define MATRIX_IN_PORTS \
+ (Port_Fa, MCU_GPIOa, F0), \
+ (Port_Fb, MCU_GPIOb, F0), \
+ (Port_Ba, MCU_GPIOa, B0), \
+ (Port_Bb, MCU_GPIOb, B0)
+#define MATRIX_IN_PINS \
+ (0, Port_Fa, 4), \
+ (1, Port_Fb, 4), \
+ (2, Port_Fa, 5), \
+ (3, Port_Fb, 5), \
+ (4, Port_Fa, 6), \
+ (5, Port_Fb, 6), \
+ (6, Port_Fa, 7), \
+ (7, Port_Fb, 7), \
+ (8, Port_Bb, 6), \
+ (9, Port_Ba, 6), \
+ (10, Port_Bb, 2), \
+ (11, Port_Ba, 2), \
+ (12, Port_Bb, 3), \
+ (13, Port_Ba, 3), \
+ (14, Port_Bb, 1), \
+ (15, Port_Ba, 1)
diff --git a/keyboards/handwired/symmetric70_proto/promicro/fast/readme.md b/keyboards/handwired/symmetric70_proto/promicro/fast/readme.md
new file mode 100644
index 0000000000..9d1a8d8ebf
--- /dev/null
+++ b/keyboards/handwired/symmetric70_proto/promicro/fast/readme.md
@@ -0,0 +1 @@
+[Look here](../readme.md)
diff --git a/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk b/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk
new file mode 100644
index 0000000000..de489fcabd
--- /dev/null
+++ b/keyboards/handwired/symmetric70_proto/promicro/fast/rules.mk
@@ -0,0 +1,6 @@
+CUSTOM_MATRIX = yes
+SRC += matrix_common.c
+SRC += matrix_fast/matrix.c
+
+KEYBOARD_LOCAL_FEATURES_MK := $(dir $(lastword $(MAKEFILE_LIST)))../../local_features.mk
+include $(KEYBOARD_LOCAL_FEATURES_MK)