diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:32:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:32:05 +1100 |
commit | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch) | |
tree | f25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/handwired/pill60 | |
parent | 9e64300e67720a5468c2585391250ca5579b311b (diff) |
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/handwired/pill60')
-rw-r--r-- | keyboards/handwired/pill60/blackpill_f401/config.h | 22 | ||||
-rw-r--r-- | keyboards/handwired/pill60/blackpill_f401/info.json | 5 | ||||
-rw-r--r-- | keyboards/handwired/pill60/blackpill_f411/config.h | 22 | ||||
-rw-r--r-- | keyboards/handwired/pill60/blackpill_f411/info.json | 5 | ||||
-rw-r--r-- | keyboards/handwired/pill60/bluepill/config.h | 22 | ||||
-rw-r--r-- | keyboards/handwired/pill60/bluepill/info.json | 5 | ||||
-rw-r--r-- | keyboards/handwired/pill60/config.h | 3 |
7 files changed, 15 insertions, 69 deletions
diff --git a/keyboards/handwired/pill60/blackpill_f401/config.h b/keyboards/handwired/pill60/blackpill_f401/config.h deleted file mode 100644 index 7de8654319..0000000000 --- a/keyboards/handwired/pill60/blackpill_f401/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2019 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#define MATRIX_COL_PINS \ - { A8, B2, B1, B15, A10, A0, A1, A2, A3, A4, A5, A6, A7, B0 } -#define MATRIX_ROW_PINS \ - { B4, B3, A15, B13, B5 } diff --git a/keyboards/handwired/pill60/blackpill_f401/info.json b/keyboards/handwired/pill60/blackpill_f401/info.json index acd7e83f77..8d85a2e930 100644 --- a/keyboards/handwired/pill60/blackpill_f401/info.json +++ b/keyboards/handwired/pill60/blackpill_f401/info.json @@ -1,4 +1,9 @@ { + "matrix_pins": { + "cols": ["A8", "B2", "B1", "B15", "A10", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0"], + "rows": ["B4", "B3", "A15", "B13", "B5"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F401", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F401" diff --git a/keyboards/handwired/pill60/blackpill_f411/config.h b/keyboards/handwired/pill60/blackpill_f411/config.h deleted file mode 100644 index 7de8654319..0000000000 --- a/keyboards/handwired/pill60/blackpill_f411/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2019 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#define MATRIX_COL_PINS \ - { A8, B2, B1, B15, A10, A0, A1, A2, A3, A4, A5, A6, A7, B0 } -#define MATRIX_ROW_PINS \ - { B4, B3, A15, B13, B5 } diff --git a/keyboards/handwired/pill60/blackpill_f411/info.json b/keyboards/handwired/pill60/blackpill_f411/info.json index 2517a82403..4e0935f79c 100644 --- a/keyboards/handwired/pill60/blackpill_f411/info.json +++ b/keyboards/handwired/pill60/blackpill_f411/info.json @@ -1,4 +1,9 @@ { + "matrix_pins": { + "cols": ["A8", "B2", "B1", "B15", "A10", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0"], + "rows": ["B4", "B3", "A15", "B13", "B5"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F411", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F411" diff --git a/keyboards/handwired/pill60/bluepill/config.h b/keyboards/handwired/pill60/bluepill/config.h deleted file mode 100644 index 1ba5ff2069..0000000000 --- a/keyboards/handwired/pill60/bluepill/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2019 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#define MATRIX_COL_PINS \ - { A8, B11, B10, B15, A10, A1, A2, A3, A4, A5, A6, A7, B0, B1 } -#define MATRIX_ROW_PINS \ - { B4, B3, A15, B13, B5 } diff --git a/keyboards/handwired/pill60/bluepill/info.json b/keyboards/handwired/pill60/bluepill/info.json index cf993be247..028b1d89d8 100644 --- a/keyboards/handwired/pill60/bluepill/info.json +++ b/keyboards/handwired/pill60/bluepill/info.json @@ -1,4 +1,9 @@ { + "matrix_pins": { + "cols": ["A8", "B11", "B10", "B15", "A10", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1"], + "rows": ["B4", "B3", "A15", "B13", "B5"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F103", "bootloader": "stm32duino" } diff --git a/keyboards/handwired/pill60/config.h b/keyboards/handwired/pill60/config.h index e96fba1db8..399d0f2212 100644 --- a/keyboards/handwired/pill60/config.h +++ b/keyboards/handwired/pill60/config.h @@ -15,8 +15,5 @@ */ #pragma once - -#define DIODE_DIRECTION COL2ROW - #define BACKLIGHT_PWM_DRIVER PWMD5 #define BACKLIGHT_PWM_CHANNEL 1 |