summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/blackpill_f401
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-12-02 21:55:28 +1100
committerGitHub <noreply@github.com>2022-12-02 21:55:28 +1100
commitcf3c26533cadf4e6739dbc9117caad01df2fa5e3 (patch)
tree8bd4f7151edcc67e0bba16f1fcdbf83cbaf172b6 /keyboards/handwired/onekey/blackpill_f401
parentf98a7e8ffecdf4904879d8d3c0cc3307aa6f9966 (diff)
Fixup EFL and F4's sector selection. (#19221)
Diffstat (limited to 'keyboards/handwired/onekey/blackpill_f401')
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/chconf.h19
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/config.h6
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/halconf.h7
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/mcuconf.h2
4 files changed, 8 insertions, 26 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f401/chconf.h b/keyboards/handwired/onekey/blackpill_f401/chconf.h
index 04ff4362ae..41ae8d1257 100644
--- a/keyboards/handwired/onekey/blackpill_f401/chconf.h
+++ b/keyboards/handwired/onekey/blackpill_f401/chconf.h
@@ -13,26 +13,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/handwired/onekey/blackpill_f401/chconf.h -r platforms/chibios/common/configs/chconf.h`
- */
-
+
#pragma once
#define CH_CFG_ST_FREQUENCY 10000
-#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
-
-#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
-
-#define CH_CFG_FACTORY_SEMAPHORES TRUE
-
-#define CH_CFG_FACTORY_MAILBOXES TRUE
-
-#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
-
-#define CH_CFG_FACTORY_PIPES TRUE
-
#include_next <chconf.h>
diff --git a/keyboards/handwired/onekey/blackpill_f401/config.h b/keyboards/handwired/onekey/blackpill_f401/config.h
index 05f3f07763..bb6219f1b3 100644
--- a/keyboards/handwired/onekey/blackpill_f401/config.h
+++ b/keyboards/handwired/onekey/blackpill_f401/config.h
@@ -1,4 +1,4 @@
-/* Copyright 2019
+/* Copyright 2021 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,3 +25,7 @@
#define ADC_PIN A0
#define RGB_CI_PIN A2
+
+#define SOLENOID_PIN B12
+#define SOLENOID_PINS { B12, B13, B14, B15 }
+#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }
diff --git a/keyboards/handwired/onekey/blackpill_f401/halconf.h b/keyboards/handwired/onekey/blackpill_f401/halconf.h
index 4982bb5b49..00aca25c36 100644
--- a/keyboards/handwired/onekey/blackpill_f401/halconf.h
+++ b/keyboards/handwired/onekey/blackpill_f401/halconf.h
@@ -1,4 +1,4 @@
-/* Copyright 2020 QMK
+/* Copyright 2021 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,11 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * This file was auto-generated by:
- * `qmk chibios-confmigrate -i keyboards/handwired/onekey/blackpill_f401/halconf.h -r platforms/chibios/common/configs/halconf.h`
- */
-
#pragma once
#define HAL_USE_ADC TRUE
diff --git a/keyboards/handwired/onekey/blackpill_f401/mcuconf.h b/keyboards/handwired/onekey/blackpill_f401/mcuconf.h
index 1aa0fe4ce7..fcb7d84f96 100644
--- a/keyboards/handwired/onekey/blackpill_f401/mcuconf.h
+++ b/keyboards/handwired/onekey/blackpill_f401/mcuconf.h
@@ -1,4 +1,4 @@
-/* Copyright 2020 Nick Brassel (tzarc)
+/* Copyright 2021 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by