1
0
Fork 0

Onekey cleanup (#13786)

This commit is contained in:
Ryan 2021-07-31 03:10:05 +10:00 committed by GitHub
parent cfca970718
commit d1db008745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 121 additions and 118 deletions

View file

@ -28,4 +28,3 @@
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
#include_next <chconf.h>

View file

@ -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

View file

@ -24,4 +24,3 @@
#define HAL_USE_PWM TRUE
#include_next <halconf.h>

View file

@ -25,4 +25,3 @@
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE

View file

@ -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*.