aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/nucleo_f446re/config.h
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2023-01-19 12:05:29 +1100
committerGitHub <[email protected]>2023-01-19 01:05:29 +0000
commit327f7ee9a74f1740106d46e65e909208a1372ad3 (patch)
tree479d7f9c47454b72717cf10e0e4917979b214211 /keyboards/handwired/onekey/nucleo_f446re/config.h
parent17c9388af5432f8e6d97828f6772eaf8031a786b (diff)
downloadqmk_firmware-327f7ee9a74f1740106d46e65e909208a1372ad3.tar.gz
qmk_firmware-327f7ee9a74f1740106d46e65e909208a1372ad3.zip
Fixup ChibiOS header inclusion search ordering. (#19623)0.19.10
* Add STM32F446-Nucleo onekey. * Fixup onekey build for F446, all keymaps. * Fixup board inclusion search ordering.
Diffstat (limited to 'keyboards/handwired/onekey/nucleo_f446re/config.h')
-rw-r--r--keyboards/handwired/onekey/nucleo_f446re/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/nucleo_f446re/config.h b/keyboards/handwired/onekey/nucleo_f446re/config.h
new file mode 100644
index 0000000000..612cbf0eab
--- /dev/null
+++ b/keyboards/handwired/onekey/nucleo_f446re/config.h
@@ -0,0 +1,16 @@
+// Copyright 2021 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#include "config_common.h"
+
+#define BACKLIGHT_PWM_DRIVER PWMD4
+#define BACKLIGHT_PWM_CHANNEL 3
+#define BACKLIGHT_PAL_MODE 2
+
+#define RGB_CI_PIN B13
+
+#define ADC_PIN A0
+
+#define SOLENOID_PINS { B12, B13, B14, B15 }
+#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }