diff options
author | Nick Brassel <nick@tzarc.org> | 2022-01-24 08:49:36 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 08:49:36 +1100 |
commit | 77062e9a36b3167ea1ff747e5577a67969273c31 (patch) | |
tree | 7afbc8881b5766fc7071d01bcc995ff2f709042a /keyboards/handwired/onekey/nucleo_l432kc/config.h | |
parent | 0f53e1333fc2f136fb64b6f286d19f8963a46fe4 (diff) |
Add L432, L442. (#16016)
Diffstat (limited to 'keyboards/handwired/onekey/nucleo_l432kc/config.h')
-rw-r--r-- | keyboards/handwired/onekey/nucleo_l432kc/config.h | 21 |
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 |