Onekey cleanup (#13786)
This commit is contained in:
@@ -26,4 +26,3 @@
|
||||
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
|
||||
|
||||
#include_next <chconf.h>
|
||||
|
||||
|
@@ -18,13 +18,15 @@
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define PRODUCT Onekey Bluepill STM32F103
|
||||
|
||||
#define MATRIX_COL_PINS { B0 }
|
||||
#define MATRIX_ROW_PINS { A7 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define BACKLIGHT_PIN A0
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD2
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_PIN A0
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD2
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
|
||||
#define RGB_DI_PIN A1
|
||||
|
||||
|
@@ -24,4 +24,3 @@
|
||||
#define HAL_USE_PWM TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
|
@@ -28,4 +28,3 @@
|
||||
|
||||
#undef STM32_SPI_USE_SPI2
|
||||
#define STM32_SPI_USE_SPI2 FALSE
|
||||
|
||||
|
@@ -1,3 +1,3 @@
|
||||
# bluepill onekey
|
||||
# Bluepill onekey
|
||||
|
||||
To trigger keypress, short together pins *B0* and *A7*.
|
||||
|
Reference in New Issue
Block a user