Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WB32 evaluation board onekey targets. #17330

Merged
merged 1 commit into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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