summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/blackpill_f411_tinyuf2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-07-31 03:10:05 +1000
committerGitHub <noreply@github.com>2021-07-30 18:10:05 +0100
commitd1db0087456e0cc7d20477feb22f434c3a4ce51d (patch)
treecb5c71a2840244b28d859bd7a97bdcf99797ee5a /keyboards/handwired/onekey/blackpill_f411_tinyuf2
parentcfca9707182aa832bb1c3aa2e93ce3cf749c63e9 (diff)
Onekey cleanup (#13786)
Diffstat (limited to 'keyboards/handwired/onekey/blackpill_f411_tinyuf2')
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h8
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h1
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md6
-rwxr-xr-xkeyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk5
4 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h
index 95e99aacc1..44ec0bfc6e 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/config.h
@@ -18,13 +18,15 @@
#include "config_common.h"
+#define PRODUCT Onekey Blackpill STM32F411 TinyUF2
+
#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_tinyuf2/mcuconf.h b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h
index ad8aecdb10..d003af03e5 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/mcuconf.h
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/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_tinyuf2/readme.md b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md
index ff43658f4c..c5ed1260b5 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/readme.md
@@ -1,9 +1,9 @@
-# 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*.
This variant requires the TinyUF2 bootloader to be installed. This can be downloaded from the [tinyuf2 releases page](https://github.com/adafruit/tinyuf2/releases). The F401 blackpill binary works for both F401- and F411-based blackpill devices.
-Double-tap reset to enter bootloader mode. Copy the built uf2 file to the device by dragging the file to the new USB disk. \ No newline at end of file
+Double-tap reset to enter bootloader mode. Copy the built uf2 file to the device by dragging the file to the new USB disk.
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk
index 4d0b1591e2..70180ee790 100755
--- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk
@@ -4,7 +4,4 @@ MCU = STM32F411
# Bootloader selection
BOOTLOADER = tinyuf2
-# Build Options
-# change yes to no to disable
-#
-KEYBOARD_SHARED_EP = yes
+KEYBOARD_SHARED_EP = yes