Onekey cleanup (#13786)
This commit is contained in:
parent
cfca970718
commit
d1db008745
51 changed files with 121 additions and 118 deletions
|
@ -28,4 +28,3 @@
|
|||
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
|
||||
|
||||
#include_next <chconf.h>
|
||||
|
||||
|
|
|
@ -18,14 +18,16 @@
|
|||
|
||||
#include "config_common.h"
|
||||
|
||||
#define PRODUCT Onekey STM32F072 Discovery
|
||||
|
||||
#define MATRIX_COL_PINS { B4 }
|
||||
#define MATRIX_ROW_PINS { B5 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define BACKLIGHT_PIN C8
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 0
|
||||
#define BACKLIGHT_PIN C8
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 0
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
|
||||
|
|
|
@ -24,4 +24,3 @@
|
|||
#define HAL_USE_PWM TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
|
|
|
@ -25,4 +25,3 @@
|
|||
|
||||
#undef STM32_PWM_USE_TIM3
|
||||
#define STM32_PWM_USE_TIM3 TRUE
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# STM32F072 Discovery kit onekey
|
||||
|
||||
Supported Hardware: <https://www.st.com/en/evaluation-tools/32f072bdiscovery.html>
|
||||
* Supported Hardware: [STM32F072 Discovery](https://www.st.com/en/evaluation-tools/32f072bdiscovery.html)
|
||||
|
||||
To trigger keypress, short together pins *B4* and *B5*.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue