summaryrefslogtreecommitdiff
path: root/platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-07-06 19:27:15 +0100
committerGitHub <noreply@github.com>2022-07-06 19:27:15 +0100
commit744af003befb3f5cf6dc6b6f3e581f288d598f96 (patch)
tree50db5b3eb71a100906b07239e6348aad379ea3e9 /platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h
parent29a2bac4691dae81a613af31e5e99660e61edc3d (diff)
Add kb2040 and sparkfun rp2040 converters (#17514)
Diffstat (limited to 'platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h')
-rw-r--r--platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h b/platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h
new file mode 100644
index 0000000000..0a3110890b
--- /dev/null
+++ b/platforms/chibios/converters/promicro_to_kb2040/_pin_defs.h
@@ -0,0 +1,36 @@
+// Copyright 2022 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+// Left side (front)
+#define D3 0U
+#define D2 1U
+// GND
+// GND
+#define D1 2U
+#define D0 3U
+#define D4 4U
+#define C6 5U
+#define D7 6U
+#define E6 7U
+#define B4 8U
+#define B5 9U
+
+// Right side (front)
+// RAW
+// GND
+// RESET
+// VCC
+#define F4 29U
+#define F5 28U
+#define F6 27U
+#define F7 26U
+#define B1 18U
+#define B3 20U
+#define B2 19U
+#define B6 10U
+
+// LEDs (Mapped to QT connector to avoid collisions with button/neopixel)
+#define D5 12U
+#define B0 13U