summaryrefslogtreecommitdiff
path: root/keyboards/handwired/riblee_f401
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/riblee_f401')
-rw-r--r--keyboards/handwired/riblee_f401/config.h7
-rw-r--r--keyboards/handwired/riblee_f401/info.json9
-rw-r--r--keyboards/handwired/riblee_f401/rules.mk10
3 files changed, 9 insertions, 17 deletions
diff --git a/keyboards/handwired/riblee_f401/config.h b/keyboards/handwired/riblee_f401/config.h
index ed0ff636f1..2cee851436 100644
--- a/keyboards/handwired/riblee_f401/config.h
+++ b/keyboards/handwired/riblee_f401/config.h
@@ -16,19 +16,12 @@
#pragma once
-#include "config_common.h"
-
-#define MATRIX_ROWS 5
-#define MATRIX_COLS 12
#define MATRIX_ROW_PINS { A6, A5, A4, A3, A2 }
#define MATRIX_COL_PINS { B10, B1, B0, B15, A8, B3, B4, B5, B6, B7, B8, B9 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_LEVELS 5
-
#define MOUSEKEY_INTERVAL 32
#define TAPPING_TERM 175 \ No newline at end of file
diff --git a/keyboards/handwired/riblee_f401/info.json b/keyboards/handwired/riblee_f401/info.json
index 2852e621d1..94cc2c35f2 100644
--- a/keyboards/handwired/riblee_f401/info.json
+++ b/keyboards/handwired/riblee_f401/info.json
@@ -8,6 +8,15 @@
"pid": "0x002A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "software",
+ "pin": "A0",
+ "levels": 5
+ },
+ "processor": "STM32F401",
+ "bootloader": "stm32-dfu",
+ "board": "BLACKPILL_STM32_F401",
+ "community_layouts": ["ortho_5x12"],
"layouts": {
"LAYOUT_ortho_5x12": {
"layout": [
diff --git a/keyboards/handwired/riblee_f401/rules.mk b/keyboards/handwired/riblee_f401/rules.mk
index 9abda835da..4c2d255a18 100644
--- a/keyboards/handwired/riblee_f401/rules.mk
+++ b/keyboards/handwired/riblee_f401/rules.mk
@@ -1,10 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
@@ -16,8 +9,5 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = software
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-
-LAYOUTS = ortho_5x12 \ No newline at end of file