diff options
author | Ryan <fauxpark@gmail.com> | 2021-07-31 03:10:05 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 18:10:05 +0100 |
commit | d1db0087456e0cc7d20477feb22f434c3a4ce51d (patch) | |
tree | cb5c71a2840244b28d859bd7a97bdcf99797ee5a /keyboards/handwired/onekey/bluepill | |
parent | cfca9707182aa832bb1c3aa2e93ce3cf749c63e9 (diff) |
Onekey cleanup (#13786)
Diffstat (limited to 'keyboards/handwired/onekey/bluepill')
-rw-r--r-- | keyboards/handwired/onekey/bluepill/chconf.h | 1 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/config.h | 8 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/halconf.h | 1 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/mcuconf.h | 1 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/readme.md | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/handwired/onekey/bluepill/chconf.h b/keyboards/handwired/onekey/bluepill/chconf.h index c7a982aedd..63236f2c2c 100644 --- a/keyboards/handwired/onekey/bluepill/chconf.h +++ b/keyboards/handwired/onekey/bluepill/chconf.h @@ -26,4 +26,3 @@ #define CH_CFG_USE_CONDVARS_TIMEOUT FALSE #include_next <chconf.h> - diff --git a/keyboards/handwired/onekey/bluepill/config.h b/keyboards/handwired/onekey/bluepill/config.h index c6166380cf..3eb7699a8b 100644 --- a/keyboards/handwired/onekey/bluepill/config.h +++ b/keyboards/handwired/onekey/bluepill/config.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 diff --git a/keyboards/handwired/onekey/bluepill/halconf.h b/keyboards/handwired/onekey/bluepill/halconf.h index 956d50f26f..923b4e52d2 100644 --- a/keyboards/handwired/onekey/bluepill/halconf.h +++ b/keyboards/handwired/onekey/bluepill/halconf.h @@ -24,4 +24,3 @@ #define HAL_USE_PWM TRUE #include_next <halconf.h> - diff --git a/keyboards/handwired/onekey/bluepill/mcuconf.h b/keyboards/handwired/onekey/bluepill/mcuconf.h index 99525360b3..5e94a97e21 100644 --- a/keyboards/handwired/onekey/bluepill/mcuconf.h +++ b/keyboards/handwired/onekey/bluepill/mcuconf.h @@ -28,4 +28,3 @@ #undef STM32_SPI_USE_SPI2 #define STM32_SPI_USE_SPI2 FALSE - diff --git a/keyboards/handwired/onekey/bluepill/readme.md b/keyboards/handwired/onekey/bluepill/readme.md index 0bf1f5701c..8688e09b4a 100644 --- a/keyboards/handwired/onekey/bluepill/readme.md +++ b/keyboards/handwired/onekey/bluepill/readme.md @@ -1,3 +1,3 @@ -# bluepill onekey +# Bluepill onekey To trigger keypress, short together pins *B0* and *A7*. |