Onekey cleanup (#13786)

This commit is contained in:
Ryan
2021-07-31 03:10:05 +10:00
committed by GitHub
parent cfca970718
commit d1db008745
51 changed files with 121 additions and 118 deletions

View File

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

View File

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

View File

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

View File

@@ -28,4 +28,3 @@
#undef STM32_SPI_USE_SPI2
#define STM32_SPI_USE_SPI2 FALSE

View File

@@ -1,3 +1,3 @@
# bluepill onekey
# Bluepill onekey
To trigger keypress, short together pins *B0* and *A7*.