From 1d75e20cd88e04f930fc87db86746db1b0e17ce2 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Wed, 8 Jun 2022 10:47:56 +1000 Subject: [PATCH] Add WB32 evaluation board onekey targets. (#17330) --- keyboards/handwired/onekey/evb_wb32f3g71/config.h | 11 +++++++++++ keyboards/handwired/onekey/evb_wb32f3g71/readme.md | 3 +++ keyboards/handwired/onekey/evb_wb32f3g71/rules.mk | 9 +++++++++ keyboards/handwired/onekey/evb_wb32fq95/config.h | 11 +++++++++++ keyboards/handwired/onekey/evb_wb32fq95/readme.md | 3 +++ keyboards/handwired/onekey/evb_wb32fq95/rules.mk | 9 +++++++++ 6 files changed, 46 insertions(+) create mode 100644 keyboards/handwired/onekey/evb_wb32f3g71/config.h create mode 100644 keyboards/handwired/onekey/evb_wb32f3g71/readme.md create mode 100644 keyboards/handwired/onekey/evb_wb32f3g71/rules.mk create mode 100644 keyboards/handwired/onekey/evb_wb32fq95/config.h create mode 100644 keyboards/handwired/onekey/evb_wb32fq95/readme.md create mode 100644 keyboards/handwired/onekey/evb_wb32fq95/rules.mk diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/config.h b/keyboards/handwired/onekey/evb_wb32f3g71/config.h new file mode 100644 index 000000000000..91ae8b899655 --- /dev/null +++ b/keyboards/handwired/onekey/evb_wb32f3g71/config.h @@ -0,0 +1,11 @@ +// Copyright 2021 Nick Brassel (@tzarc) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include "config_common.h" + +#define PRODUCT Onekey WB32F3G71 + +#define MATRIX_COL_PINS { B12 } +#define MATRIX_ROW_PINS { B13 } +#define UNUSED_PINS diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/readme.md b/keyboards/handwired/onekey/evb_wb32f3g71/readme.md new file mode 100644 index 000000000000..905b51b0f18d --- /dev/null +++ b/keyboards/handwired/onekey/evb_wb32f3g71/readme.md @@ -0,0 +1,3 @@ +# Westberry Tech WB32F3G71 Evaluation Board Onekey + +To trigger keypress, short together pins *B12* and *B13*. diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk b/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk new file mode 100644 index 000000000000..9f64c6683f5e --- /dev/null +++ b/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk @@ -0,0 +1,9 @@ +# MCU name +MCU = WB32F3G71 + +# Bootloader selection +BOOTLOADER = wb32-dfu + +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = no # Audio control and System control +NKRO_ENABLE = no # Enable N-Key Rollover diff --git a/keyboards/handwired/onekey/evb_wb32fq95/config.h b/keyboards/handwired/onekey/evb_wb32fq95/config.h new file mode 100644 index 000000000000..9014d08f52ee --- /dev/null +++ b/keyboards/handwired/onekey/evb_wb32fq95/config.h @@ -0,0 +1,11 @@ +// Copyright 2021 Nick Brassel (@tzarc) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include "config_common.h" + +#define PRODUCT Onekey WB32FQ95 + +#define MATRIX_COL_PINS { B12 } +#define MATRIX_ROW_PINS { B13 } +#define UNUSED_PINS diff --git a/keyboards/handwired/onekey/evb_wb32fq95/readme.md b/keyboards/handwired/onekey/evb_wb32fq95/readme.md new file mode 100644 index 000000000000..c9912203b211 --- /dev/null +++ b/keyboards/handwired/onekey/evb_wb32fq95/readme.md @@ -0,0 +1,3 @@ +# Westberry Tech WB32FQ95 Evaluation Board Onekey + +To trigger keypress, short together pins *B12* and *B13*. diff --git a/keyboards/handwired/onekey/evb_wb32fq95/rules.mk b/keyboards/handwired/onekey/evb_wb32fq95/rules.mk new file mode 100644 index 000000000000..d0dcd16292e9 --- /dev/null +++ b/keyboards/handwired/onekey/evb_wb32fq95/rules.mk @@ -0,0 +1,9 @@ +# MCU name +MCU = WB32FQ95 + +# Bootloader selection +BOOTLOADER = wb32-dfu + +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = no # Audio control and System control +NKRO_ENABLE = no # Enable N-Key Rollover