summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/nucleo_g431rb
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-06-19 15:02:57 +1000
committerGitHub <noreply@github.com>2023-06-19 15:02:57 +1000
commit0774381f81ba69c2c37fd002a846d03f9e9e7cfd (patch)
treee6d7e9de27b3192e696e76ea74637fec25e7a594 /keyboards/handwired/onekey/nucleo_g431rb
parentde49bcd8e84667e733a53b7ee2dfda7e0026b9f1 (diff)
Swap G431 to transient EEPROM. Add G431 and G474 onekeys. (#21282)
Diffstat (limited to 'keyboards/handwired/onekey/nucleo_g431rb')
-rw-r--r--keyboards/handwired/onekey/nucleo_g431rb/info.json19
-rw-r--r--keyboards/handwired/onekey/nucleo_g431rb/readme.md7
-rw-r--r--keyboards/handwired/onekey/nucleo_g431rb/rules.mk0
3 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/nucleo_g431rb/info.json b/keyboards/handwired/onekey/nucleo_g431rb/info.json
new file mode 100644
index 0000000000..4e5e3b1cba
--- /dev/null
+++ b/keyboards/handwired/onekey/nucleo_g431rb/info.json
@@ -0,0 +1,19 @@
+{
+ "keyboard_name": "Onekey Nucleo G431RB",
+ "processor": "STM32G431",
+ "bootloader": "stm32-dfu",
+ "matrix_pins": {
+ "cols": ["A9"],
+ "rows": ["A10"]
+ },
+ "backlight": {
+ "pin": "B8"
+ },
+ "ws2812": {
+ "pin": "A0"
+ },
+ "apa102": {
+ "data_pin": "A0",
+ "clock_pin": "B13"
+ }
+}
diff --git a/keyboards/handwired/onekey/nucleo_g431rb/readme.md b/keyboards/handwired/onekey/nucleo_g431rb/readme.md
new file mode 100644
index 0000000000..3b393e1276
--- /dev/null
+++ b/keyboards/handwired/onekey/nucleo_g431rb/readme.md
@@ -0,0 +1,7 @@
+# ST Microelectronics Nucleo64-G431RB onekey
+
+Supported Hardware: <https://www.st.com/en/evaluation-tools/nucleo-g431rb.html>
+
+To trigger keypress, short together pins *A9* and *A10*.
+
+The usual USB connection to ST-Link will not work for QMK -- pins *A11* and *A12* need to be connected to *D-* and *D+* respectively.
diff --git a/keyboards/handwired/onekey/nucleo_g431rb/rules.mk b/keyboards/handwired/onekey/nucleo_g431rb/rules.mk
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/keyboards/handwired/onekey/nucleo_g431rb/rules.mk