diff options
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco')
5 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/handwired/onekey/stm32f0_disco/chconf.h b/keyboards/handwired/onekey/stm32f0_disco/chconf.h index 33ceb1431..1e497767d 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/chconf.h +++ b/keyboards/handwired/onekey/stm32f0_disco/chconf.h | |||
@@ -28,4 +28,3 @@ | |||
28 | #define CH_CFG_USE_CONDVARS_TIMEOUT FALSE | 28 | #define CH_CFG_USE_CONDVARS_TIMEOUT FALSE |
29 | 29 | ||
30 | #include_next <chconf.h> | 30 | #include_next <chconf.h> |
31 | |||
diff --git a/keyboards/handwired/onekey/stm32f0_disco/config.h b/keyboards/handwired/onekey/stm32f0_disco/config.h index 0d6dd18fa..e0f6d0005 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/config.h +++ b/keyboards/handwired/onekey/stm32f0_disco/config.h | |||
@@ -18,14 +18,16 @@ | |||
18 | 18 | ||
19 | #include "config_common.h" | 19 | #include "config_common.h" |
20 | 20 | ||
21 | #define PRODUCT Onekey STM32F072 Discovery | ||
22 | |||
21 | #define MATRIX_COL_PINS { B4 } | 23 | #define MATRIX_COL_PINS { B4 } |
22 | #define MATRIX_ROW_PINS { B5 } | 24 | #define MATRIX_ROW_PINS { B5 } |
23 | #define UNUSED_PINS | 25 | #define UNUSED_PINS |
24 | 26 | ||
25 | #define BACKLIGHT_PIN C8 | 27 | #define BACKLIGHT_PIN C8 |
26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 28 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
27 | #define BACKLIGHT_PWM_CHANNEL 3 | 29 | #define BACKLIGHT_PWM_CHANNEL 3 |
28 | #define BACKLIGHT_PAL_MODE 0 | 30 | #define BACKLIGHT_PAL_MODE 0 |
29 | 31 | ||
30 | #define RGB_DI_PIN B15 | 32 | #define RGB_DI_PIN B15 |
31 | 33 | ||
diff --git a/keyboards/handwired/onekey/stm32f0_disco/halconf.h b/keyboards/handwired/onekey/stm32f0_disco/halconf.h index cb7de6738..78ed6586c 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/halconf.h +++ b/keyboards/handwired/onekey/stm32f0_disco/halconf.h | |||
@@ -24,4 +24,3 @@ | |||
24 | #define HAL_USE_PWM TRUE | 24 | #define HAL_USE_PWM TRUE |
25 | 25 | ||
26 | #include_next <halconf.h> | 26 | #include_next <halconf.h> |
27 | |||
diff --git a/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h b/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h index 52d39e4dd..ea4f9373a 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h +++ b/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h | |||
@@ -25,4 +25,3 @@ | |||
25 | 25 | ||
26 | #undef STM32_PWM_USE_TIM3 | 26 | #undef STM32_PWM_USE_TIM3 |
27 | #define STM32_PWM_USE_TIM3 TRUE | 27 | #define STM32_PWM_USE_TIM3 TRUE |
28 | |||
diff --git a/keyboards/handwired/onekey/stm32f0_disco/readme.md b/keyboards/handwired/onekey/stm32f0_disco/readme.md index 48d999d69..0f5c01984 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/readme.md +++ b/keyboards/handwired/onekey/stm32f0_disco/readme.md | |||
@@ -1,5 +1,5 @@ | |||
1 | # STM32F072 Discovery kit onekey | 1 | # STM32F072 Discovery kit onekey |
2 | 2 | ||
3 | Supported Hardware: <https://www.st.com/en/evaluation-tools/32f072bdiscovery.html> | 3 | * Supported Hardware: [STM32F072 Discovery](https://www.st.com/en/evaluation-tools/32f072bdiscovery.html) |
4 | 4 | ||
5 | To trigger keypress, short together pins *B4* and *B5*. | 5 | To trigger keypress, short together pins *B4* and *B5*. |