Onekey: migrate some stuff to data driven (#18502)

This commit is contained in:
Ryan
2022-09-30 04:23:11 +10:00
committed by GitHub
parent bad8c67189
commit 45b5ed5c6e
69 changed files with 259 additions and 335 deletions

View File

@@ -5,10 +5,6 @@
#include "config_common.h"
#define MATRIX_COL_PINS \
{ GP4 }
#define MATRIX_ROW_PINS \
{ GP5 }
#define DEBUG_MATRIX_SCAN_RATE
#define QMK_WAITING_TEST_BUSY_PIN GP8
@@ -17,5 +13,3 @@
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
#define RGB_DI_PIN A1

View File

@@ -1,3 +1,12 @@
{
"keyboard_name": "Onekey RP2040"
"keyboard_name": "Onekey RP2040",
"processor": "RP2040",
"bootloader": "rp2040",
"matrix_pins": {
"cols": ["GP4"],
"rows": ["GP5"]
},
"rgblight": {
"pin": "A1"
}
}

View File

@@ -1,3 +0,0 @@
# MCU name
MCU = RP2040
BOOTLOADER = rp2040