summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/bluepill
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/bluepill')
-rw-r--r--keyboards/handwired/onekey/bluepill/chconf.h1
-rw-r--r--keyboards/handwired/onekey/bluepill/config.h8
-rw-r--r--keyboards/handwired/onekey/bluepill/halconf.h1
-rw-r--r--keyboards/handwired/onekey/bluepill/mcuconf.h1
-rw-r--r--keyboards/handwired/onekey/bluepill/readme.md2
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*.