Onekey: migrate some stuff to data driven (#18502)
This commit is contained in:
parent
bad8c67189
commit
45b5ed5c6e
69 changed files with 259 additions and 335 deletions
|
@ -18,15 +18,10 @@
|
|||
|
||||
#include "config_common.h"
|
||||
|
||||
#define MATRIX_COL_PINS { A2 }
|
||||
#define MATRIX_ROW_PINS { A1 }
|
||||
|
||||
#define BACKLIGHT_PIN B8
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD4
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 2
|
||||
|
||||
#define RGB_DI_PIN A0
|
||||
#define RGB_CI_PIN B13
|
||||
|
||||
#define ADC_PIN A0
|
||||
|
|
|
@ -1,3 +1,14 @@
|
|||
{
|
||||
"keyboard_name": "Onekey Proton-C"
|
||||
"keyboard_name": "Onekey Proton-C",
|
||||
"development_board": "proton_c",
|
||||
"matrix_pins": {
|
||||
"cols": ["A2"],
|
||||
"rows": ["A1"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B8"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "A0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
# MCU name
|
||||
MCU = STM32F303
|
||||
BOARD = QMK_PROTON_C
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
Loading…
Add table
Add a link
Reference in a new issue