summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/blackpill_f411
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/blackpill_f411')
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/chconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/config.h8
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/halconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/mcuconf.h1
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/readme.md4
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/rules.mk5
6 files changed, 9 insertions, 11 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f411/chconf.h b/keyboards/handwired/onekey/blackpill_f411/chconf.h
index 4ecd0f52a2..8b55eaeef0 100644
--- a/keyboards/handwired/onekey/blackpill_f411/chconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411/chconf.h
@@ -36,4 +36,3 @@
#define CH_CFG_FACTORY_PIPES TRUE
#include_next <chconf.h>
-
diff --git a/keyboards/handwired/onekey/blackpill_f411/config.h b/keyboards/handwired/onekey/blackpill_f411/config.h
index 829e84677f..16e8f27924 100644
--- a/keyboards/handwired/onekey/blackpill_f411/config.h
+++ b/keyboards/handwired/onekey/blackpill_f411/config.h
@@ -18,13 +18,15 @@
#include "config_common.h"
+#define PRODUCT Onekey Blackpill STM32F411
+
#define MATRIX_COL_PINS { B0 }
#define MATRIX_ROW_PINS { A7 }
#define UNUSED_PINS
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_PWM_DRIVER PWMD5
-#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PIN A0
+#define BACKLIGHT_PWM_DRIVER PWMD5
+#define BACKLIGHT_PWM_CHANNEL 1
#define RGB_DI_PIN A1
diff --git a/keyboards/handwired/onekey/blackpill_f411/halconf.h b/keyboards/handwired/onekey/blackpill_f411/halconf.h
index d54f2a26ac..4a0da20890 100644
--- a/keyboards/handwired/onekey/blackpill_f411/halconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411/halconf.h
@@ -26,4 +26,3 @@
#define HAL_USE_PWM TRUE
#include_next <halconf.h>
-
diff --git a/keyboards/handwired/onekey/blackpill_f411/mcuconf.h b/keyboards/handwired/onekey/blackpill_f411/mcuconf.h
index 034a022db4..e614a9dfa9 100644
--- a/keyboards/handwired/onekey/blackpill_f411/mcuconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411/mcuconf.h
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+
#pragma once
#include_next "mcuconf.h"
diff --git a/keyboards/handwired/onekey/blackpill_f411/readme.md b/keyboards/handwired/onekey/blackpill_f411/readme.md
index a1e1e37233..e7eb6f285b 100644
--- a/keyboards/handwired/onekey/blackpill_f411/readme.md
+++ b/keyboards/handwired/onekey/blackpill_f411/readme.md
@@ -1,5 +1,5 @@
-# f411 blackpill onekey
+# F411 Blackpill onekey
-Supported Hardware: *STM32F411CEU6 WeAct v1.3*.
+* Supported Hardware: STM32F411CEU6 WeAct v1.3
To trigger keypress, short together pins *B0* and *A7*.
diff --git a/keyboards/handwired/onekey/blackpill_f411/rules.mk b/keyboards/handwired/onekey/blackpill_f411/rules.mk
index 3ded2a2587..75bc794ef0 100644
--- a/keyboards/handwired/onekey/blackpill_f411/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f411/rules.mk
@@ -4,7 +4,4 @@ MCU = STM32F411
# Bootloader selection
BOOTLOADER = stm32-dfu
-# Build Options
-# change yes to no to disable
-#
-KEYBOARD_SHARED_EP = yes
+KEYBOARD_SHARED_EP = yes