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.h5
-rw-r--r--keyboards/handwired/riblee_f401/halconf.h3
-rw-r--r--keyboards/handwired/riblee_f401/info.json4
-rw-r--r--keyboards/handwired/riblee_f401/mcuconf.h6
4 files changed, 14 insertions, 4 deletions
diff --git a/keyboards/handwired/riblee_f401/config.h b/keyboards/handwired/riblee_f401/config.h
index 09a304e1c7..3e384e5b5b 100644
--- a/keyboards/handwired/riblee_f401/config.h
+++ b/keyboards/handwired/riblee_f401/config.h
@@ -16,6 +16,7 @@
#pragma once
-#define MOUSEKEY_INTERVAL 32
+#define BACKLIGHT_PWM_DRIVER PWMD5
+#define BACKLIGHT_PWM_CHANNEL 1
-#define TAPPING_TERM 175 \ No newline at end of file
+#define MOUSEKEY_INTERVAL 32
diff --git a/keyboards/handwired/riblee_f401/halconf.h b/keyboards/handwired/riblee_f401/halconf.h
index 3c20471df1..b537d56c26 100644
--- a/keyboards/handwired/riblee_f401/halconf.h
+++ b/keyboards/handwired/riblee_f401/halconf.h
@@ -23,5 +23,6 @@
#define SERIAL_USB_BUFFERS_SIZE 256
-#include_next <halconf.h>
+#define HAL_USE_PWM TRUE
+#include_next <halconf.h>
diff --git a/keyboards/handwired/riblee_f401/info.json b/keyboards/handwired/riblee_f401/info.json
index 7b9b320b98..933973d5f3 100644
--- a/keyboards/handwired/riblee_f401/info.json
+++ b/keyboards/handwired/riblee_f401/info.json
@@ -8,13 +8,15 @@
"pid": "0x002A",
"device_version": "0.0.1"
},
+ "tapping": {
+ "term": 175
+ },
"matrix_pins": {
"cols": ["B10", "B1", "B0", "B15", "A8", "B3", "B4", "B5", "B6", "B7", "B8", "B9"],
"rows": ["A6", "A5", "A4", "A3", "A2"]
},
"diode_direction": "COL2ROW",
"backlight": {
- "driver": "software",
"pin": "A0",
"levels": 5
},
diff --git a/keyboards/handwired/riblee_f401/mcuconf.h b/keyboards/handwired/riblee_f401/mcuconf.h
new file mode 100644
index 0000000000..674f5e362f
--- /dev/null
+++ b/keyboards/handwired/riblee_f401/mcuconf.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include_next <mcuconf.h>
+
+#undef STM32_PWM_USE_TIM5
+#define STM32_PWM_USE_TIM5 TRUE