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
|
@ -19,9 +19,6 @@
|
|||
// TODO: including this causes "error: expected identifier before '(' token" errors
|
||||
//#include "config_common.h"
|
||||
|
||||
#define MATRIX_COL_PINS { D5 } // 20/A6
|
||||
#define MATRIX_ROW_PINS { B2 } // 19/A5
|
||||
|
||||
// i2c_master defines
|
||||
#define I2C1_SCL_PIN B0 // 16/A2 on pinout
|
||||
#define I2C1_SDA_PIN B1 // 17/A3 on pinout
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
{
|
||||
"keyboard_name": "Onekey Teensy 3.5"
|
||||
"keyboard_name": "Onekey Teensy 3.5",
|
||||
"processor": "MK64FX512",
|
||||
"bootloader": "halfkay",
|
||||
"matrix_pins": {
|
||||
"cols": ["D5"], // 20/A6
|
||||
"rows": ["B2"] // 19/A5
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,2 @@
|
|||
# MCU name
|
||||
MCU = MK64FX512
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue