Skip to content

Commit

Permalink
Add WB32 evaluation board onekey targets. (qmk#17330)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored and ModProg committed Jul 1, 2022
1 parent 7de8c02 commit 40c888e
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 0 deletions.
11 changes: 11 additions & 0 deletions keyboards/handwired/onekey/evb_wb32f3g71/config.h
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions keyboards/handwired/onekey/evb_wb32f3g71/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Westberry Tech WB32F3G71 Evaluation Board Onekey

To trigger keypress, short together pins *B12* and *B13*.
9 changes: 9 additions & 0 deletions keyboards/handwired/onekey/evb_wb32f3g71/rules.mk
Original file line number Diff line number Diff line change
@@ -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 changes: 11 additions & 0 deletions keyboards/handwired/onekey/evb_wb32fq95/config.h
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions keyboards/handwired/onekey/evb_wb32fq95/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Westberry Tech WB32FQ95 Evaluation Board Onekey

To trigger keypress, short together pins *B12* and *B13*.
9 changes: 9 additions & 0 deletions keyboards/handwired/onekey/evb_wb32fq95/rules.mk
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40c888e

Please sign in to comment.