summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/nucleo_l432kc/config.h
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2022-02-25 23:45:40 +0000
committerzvecr <git@zvecr.com>2022-02-25 23:45:40 +0000
commite7931289918221081cbe2a7ea5df27a5d86324db (patch)
tree0b06145520f8aaf5ff5cb928aa5176fc2dd23619 /keyboards/handwired/onekey/nucleo_l432kc/config.h
parentc0ee3d2c79388187883b1b1b1d1a0b6842acf741 (diff)
parentcf31355f08dca311a013168eb3eb995e2fc6a3d1 (diff)
Merge remote-tracking branch 'origin/develop'
Diffstat (limited to 'keyboards/handwired/onekey/nucleo_l432kc/config.h')
-rw-r--r--keyboards/handwired/onekey/nucleo_l432kc/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/nucleo_l432kc/config.h b/keyboards/handwired/onekey/nucleo_l432kc/config.h
new file mode 100644
index 0000000000..7aa74f6682
--- /dev/null
+++ b/keyboards/handwired/onekey/nucleo_l432kc/config.h
@@ -0,0 +1,21 @@
+// Copyright 2021 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#include "config_common.h"
+
+#define PRODUCT Onekey L432KC
+
+#define MATRIX_COL_PINS { A2 }
+#define MATRIX_ROW_PINS { A1 }
+#define UNUSED_PINS
+
+#define BACKLIGHT_PIN B8
+#define BACKLIGHT_PWM_DRIVER PWMD4
+#define BACKLIGHT_PWM_CHANNEL 3
+#define BACKLIGHT_PAL_MODE 2
+
+#define RGB_DI_PIN A0
+#define RGB_CI_PIN B13
+
+#define ADC_PIN A0