aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodox_stm32
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_stm32')
-rw-r--r--keyboards/ergodox_stm32/keyboard.json (renamed from keyboards/ergodox_stm32/info.json)11
-rw-r--r--keyboards/ergodox_stm32/rules.mk15
2 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/ergodox_stm32/info.json b/keyboards/ergodox_stm32/keyboard.json
index 305adc9e12..9315a3971f 100644
--- a/keyboards/ergodox_stm32/info.json
+++ b/keyboards/ergodox_stm32/keyboard.json
@@ -8,7 +8,16 @@
"pid": "0x1308",
"device_version": "1.0.1"
},
-"layouts": {
+ "features": {
+ "bootmagic": false,
+ "mousekey": false,
+ "extrakey": true,
+ "nkro": true,
+ "unicode": true
+ },
+ "processor": "STM32F103",
+ "bootloader": "custom",
+ "layouts": {
"LAYOUT_ergodox": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.375, "w": 1.5},
diff --git a/keyboards/ergodox_stm32/rules.mk b/keyboards/ergodox_stm32/rules.mk
index 5481eef1a2..a4e9df8c6a 100644
--- a/keyboards/ergodox_stm32/rules.mk
+++ b/keyboards/ergodox_stm32/rules.mk
@@ -1,19 +1,8 @@
-# MCU name
-MCU = STM32F103
+# custom bootloader
MCU_LDSCRIPT = stm32f103_bootloader
BOARD = ST_NUCLEO64_F103RB
-# Bootloader selection
-BOOTLOADER = custom
-
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-CUSTOM_MATRIX = yes # Custom matrix file
-UNICODE_ENABLE = yes # Unicode
+CUSTOM_MATRIX = yes
SRC += matrix.c
I2C_DRIVER_REQUIRED = yes