A keyboards/handwired/onekey/nucleo_g431rb/info.json => keyboards/handwired/onekey/nucleo_g431rb/info.json +19 -0
@@ 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"
+ }
+}
A keyboards/handwired/onekey/nucleo_g431rb/readme.md => keyboards/handwired/onekey/nucleo_g431rb/readme.md +7 -0
@@ 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.
A keyboards/handwired/onekey/nucleo_g431rb/rules.mk => keyboards/handwired/onekey/nucleo_g431rb/rules.mk +0 -0
A keyboards/handwired/onekey/nucleo_g474re/info.json => keyboards/handwired/onekey/nucleo_g474re/info.json +19 -0
@@ 0,0 1,19 @@
+{
+ "keyboard_name": "Onekey Nucleo G474RE",
+ "processor": "STM32G474",
+ "bootloader": "stm32-dfu",
+ "matrix_pins": {
+ "cols": ["A9"],
+ "rows": ["A10"]
+ },
+ "backlight": {
+ "pin": "B8"
+ },
+ "ws2812": {
+ "pin": "A0"
+ },
+ "apa102": {
+ "data_pin": "A0",
+ "clock_pin": "B13"
+ }
+}
A keyboards/handwired/onekey/nucleo_g474re/readme.md => keyboards/handwired/onekey/nucleo_g474re/readme.md +7 -0
@@ 0,0 1,7 @@
+# ST Microelectronics Nucleo64-G474RE onekey
+
+Supported Hardware: <https://www.st.com/en/evaluation-tools/nucleo-g474re.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.
A keyboards/handwired/onekey/nucleo_g474re/rules.mk => keyboards/handwired/onekey/nucleo_g474re/rules.mk +0 -0
M platforms/chibios/mcu_selection.mk => platforms/chibios/mcu_selection.mk +3 -0
@@ 546,6 546,9 @@ ifneq ($(findstring STM32G431, $(MCU)),)
# Bootloader address for STM32 DFU
STM32_BOOTLOADER_ADDRESS ?= 0x1FFF0000
+
+ # Default to transient driver as ChibiOS EFL is currently broken for single-bank G4xx devices
+ EEPROM_DRIVER ?= transient
endif
ifneq ($(findstring STM32G474, $(MCU)),)