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/teensy_35 | |
parent | bad8c6718901603b8a64d371b003ae4ab6a24044 (diff) |
Onekey: migrate some stuff to data driven (#18502)
Diffstat (limited to 'keyboards/handwired/onekey/teensy_35')
-rw-r--r-- | keyboards/handwired/onekey/teensy_35/config.h | 3 | ||||
-rw-r--r-- | keyboards/handwired/onekey/teensy_35/info.json | 8 | ||||
-rw-r--r-- | keyboards/handwired/onekey/teensy_35/rules.mk | 6 |
3 files changed, 7 insertions, 10 deletions
diff --git a/keyboards/handwired/onekey/teensy_35/config.h b/keyboards/handwired/onekey/teensy_35/config.h index 13eaf1a4f6..0f15fc87d8 100644 --- a/keyboards/handwired/onekey/teensy_35/config.h +++ b/keyboards/handwired/onekey/teensy_35/config.h @@ -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 diff --git a/keyboards/handwired/onekey/teensy_35/info.json b/keyboards/handwired/onekey/teensy_35/info.json index 99b6a236c5..59cc1decdc 100644 --- a/keyboards/handwired/onekey/teensy_35/info.json +++ b/keyboards/handwired/onekey/teensy_35/info.json @@ -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 + } } diff --git a/keyboards/handwired/onekey/teensy_35/rules.mk b/keyboards/handwired/onekey/teensy_35/rules.mk index 8ebefd03f5..a92b099328 100644 --- a/keyboards/handwired/onekey/teensy_35/rules.mk +++ b/keyboards/handwired/onekey/teensy_35/rules.mk @@ -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 |