Browse Source

Add WB32 evaluation board onekey targets. (#17330)

Nick Brassel 3 năm trước cách đây
mục cha
commit
1d75e20cd8

+ 11 - 0
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

+ 3 - 0
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*.

+ 9 - 0
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

+ 11 - 0
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

+ 3 - 0
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*.

+ 9 - 0
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