diff options
author | Ryan <fauxpark@gmail.com> | 2022-09-30 04:23:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 04:23:11 +1000 |
commit | 45b5ed5c6e1ecdf95e9ce0523a8ff49d45b8822f (patch) | |
tree | 081caca5fb2e86ba1af0550a35e6743235cb6922 /keyboards/handwired/onekey/evb_wb32f3g71 | |
parent | bad8c6718901603b8a64d371b003ae4ab6a24044 (diff) |
Onekey: migrate some stuff to data driven (#18502)
Diffstat (limited to 'keyboards/handwired/onekey/evb_wb32f3g71')
-rw-r--r-- | keyboards/handwired/onekey/evb_wb32f3g71/config.h | 8 | ||||
-rw-r--r-- | keyboards/handwired/onekey/evb_wb32f3g71/info.json | 8 | ||||
-rw-r--r-- | keyboards/handwired/onekey/evb_wb32f3g71/rules.mk | 6 |
3 files changed, 7 insertions, 15 deletions
diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/config.h b/keyboards/handwired/onekey/evb_wb32f3g71/config.h deleted file mode 100644 index 722aa59821..0000000000 --- a/keyboards/handwired/onekey/evb_wb32f3g71/config.h +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2021 Nick Brassel (@tzarc) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#include "config_common.h" - -#define MATRIX_COL_PINS { B12 } -#define MATRIX_ROW_PINS { B13 } diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/info.json b/keyboards/handwired/onekey/evb_wb32f3g71/info.json index c4d9d317e5..6287cdc34a 100644 --- a/keyboards/handwired/onekey/evb_wb32f3g71/info.json +++ b/keyboards/handwired/onekey/evb_wb32f3g71/info.json @@ -1,3 +1,9 @@ { - "keyboard_name": "Onekey WB32F3G71 Eval" + "keyboard_name": "Onekey WB32F3G71 Eval", + "processor": "WB32F3G71", + "bootloader": "wb32-dfu", + "matrix_pins": { + "cols": ["B12"], + "rows": ["B13"] + } } diff --git a/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk b/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk index 9f64c6683f..033dd66aa4 100644 --- a/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk +++ b/keyboards/handwired/onekey/evb_wb32f3g71/rules.mk @@ -1,9 +1,3 @@ -# 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 |