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

@@ -18,12 +18,6 @@
#include "config_common.h"
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define BACKLIGHT_PIN B6
#define RGB_DI_PIN F6
#define RGB_CI_PIN B1
#define ADC_PIN F6

View File

@@ -1,3 +1,14 @@
{
"keyboard_name": "Onekey Elite-C"
"keyboard_name": "Onekey Elite-C",
"development_board": "elite_c",
"matrix_pins": {
"cols": ["F4"],
"rows": ["F5"]
},
"backlight": {
"pin": "B6"
},
"rgblight": {
"pin": "F6"
}
}

View File

@@ -1,5 +0,0 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu