M keyboards/handwired/onekey/blackpill_f401/config.h => keyboards/handwired/onekey/blackpill_f401/config.h +1 -1
@@ 23,7 23,7 @@
#define UNUSED_PINS
#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD2
+#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
M keyboards/handwired/onekey/blackpill_f401/halconf.h => keyboards/handwired/onekey/blackpill_f401/halconf.h +1 -0
@@ 16,5 16,6 @@
#pragma once
#define HAL_USE_I2C TRUE
+#define HAL_USE_PWM TRUE
#include_next "halconf.h"
M keyboards/handwired/onekey/blackpill_f401/mcuconf.h => keyboards/handwired/onekey/blackpill_f401/mcuconf.h +3 -0
@@ 19,3 19,6 @@
#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
+
+#undef STM32_PWM_USE_TIM5
+#define STM32_PWM_USE_TIM5 TRUE
M keyboards/handwired/onekey/blackpill_f411/config.h => keyboards/handwired/onekey/blackpill_f411/config.h +1 -1
@@ 23,7 23,7 @@
#define UNUSED_PINS
#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD2
+#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
M keyboards/handwired/onekey/blackpill_f411/halconf.h => keyboards/handwired/onekey/blackpill_f411/halconf.h +1 -0
@@ 16,5 16,6 @@
#pragma once
#define HAL_USE_I2C TRUE
+#define HAL_USE_PWM TRUE
#include_next "halconf.h"
M keyboards/handwired/onekey/blackpill_f411/mcuconf.h => keyboards/handwired/onekey/blackpill_f411/mcuconf.h +3 -0
@@ 19,3 19,6 @@
#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
+
+#undef STM32_PWM_USE_TIM5
+#define STM32_PWM_USE_TIM5 TRUE