summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack <jack@pngu.org>2025-07-06 00:50:37 -0600
committerGitHub <noreply@github.com>2025-07-05 23:50:37 -0700
commit0842f54a272ab8324dcfda38d1b5645a3b97372f (patch)
tree4563794d909e5152d872402045ed9420c9c23039
parent584ad807cc145dead82a727b49ddbb972ebe6e50 (diff)
Refactor `bastardkb/tbkmini` (#25438)
-rw-r--r--data/mappings/keyboard_aliases.hjson12
-rw-r--r--keyboards/bastardkb/readme.md19
-rw-r--r--keyboards/bastardkb/tbkmini/blackpill/config.h33
-rw-r--r--keyboards/bastardkb/tbkmini/blackpill/halconf.h21
-rw-r--r--keyboards/bastardkb/tbkmini/blackpill/keyboard.json42
-rw-r--r--keyboards/bastardkb/tbkmini/blackpill/mcuconf.h23
-rw-r--r--keyboards/bastardkb/tbkmini/blackpill/rules.mk5
-rw-r--r--keyboards/bastardkb/tbkmini/info.json79
-rw-r--r--keyboards/bastardkb/tbkmini/keymaps/default/keymap.c69
-rw-r--r--keyboards/bastardkb/tbkmini/keymaps/default/keymap.json25
-rw-r--r--keyboards/bastardkb/tbkmini/promicro/keyboard.json15
-rw-r--r--keyboards/bastardkb/tbkmini/readme.md36
-rw-r--r--keyboards/bastardkb/tbkmini/tbkmini.c61
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/config.h22
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/keyboard.json31
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/rules.mk1
-rw-r--r--keyboards/bastardkb/tbkmini/v2/elitec/config.h21
-rw-r--r--keyboards/bastardkb/tbkmini/v2/elitec/keyboard.json31
-rw-r--r--keyboards/bastardkb/tbkmini/v2/elitec/rules.mk1
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_2/config.h31
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_2/keyboard.json32
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_2/readme.md5
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_2/rules.mk3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_3/config.h31
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_3/keyboard.json32
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_3/readme.md5
-rw-r--r--keyboards/bastardkb/tbkmini/v2/splinky_3/rules.mk3
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/config.h38
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/halconf.h23
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/keyboard.json34
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/mcuconf.h29
-rw-r--r--keyboards/bastardkb/tbkmini/v2/stemcell/rules.mk3
32 files changed, 172 insertions, 644 deletions
diff --git a/data/mappings/keyboard_aliases.hjson b/data/mappings/keyboard_aliases.hjson
index e976ff6cac..fb4f782844 100644
--- a/data/mappings/keyboard_aliases.hjson
+++ b/data/mappings/keyboard_aliases.hjson
@@ -68,6 +68,18 @@
68 "bakeneko80": { 68 "bakeneko80": {
69 "target": "kkatano/bakeneko80" 69 "target": "kkatano/bakeneko80"
70 }, 70 },
71 "bastardkb/tbkmini/v2/elitec": {
72 "target": "bastardkb/tbkmini/promicro"
73 },
74 "bastardkb/tbkmini/v2/splinky_2": {
75 "target": "bastardkb/tbkmini/promicro"
76 },
77 "bastardkb/tbkmini/v2/splinky_3": {
78 "target": "bastardkb/tbkmini/promicro"
79 },
80 "bastardkb/tbkmini/v2/stemcell": {
81 "target": "bastardkb/tbkmini/promicro"
82 },
71 "bear_face": { 83 "bear_face": {
72 "target": "bear_face/v1" 84 "target": "bear_face/v1"
73 }, 85 },
diff --git a/keyboards/bastardkb/readme.md b/keyboards/bastardkb/readme.md
new file mode 100644
index 0000000000..1b95e09946
--- /dev/null
+++ b/keyboards/bastardkb/readme.md
@@ -0,0 +1,19 @@
1# Information for Various BastardKB Hardware
2
3## Handedness Pin on Elite-C Holder
4The [Elite-C Holder](https://github.com/Bastardkb/Elite-C-holder) supports setting [handedness by pin](https://docs.qmk.fm/features/split_keyboard#handedness-by-pin) on pin F1 of an Elite-C.
5
6To utilise this, you must be using an Elite-C compatible development board (with the bottom 5 pins broken out) and install the necessary resistor. The following firmware configuration can be made in your keymap directory:
7```Makefile
8# rules.mk
9
10PIN_COMPATIBLE = elite_c
11```
12
13```c
14// config.h
15#pragma once
16
17#define SPLIT_HAND_PIN F1
18#define SPLIT_HAND_PIN_LOW_IS_LEFT
19```
diff --git a/keyboards/bastardkb/tbkmini/blackpill/config.h b/keyboards/bastardkb/tbkmini/blackpill/config.h
index bf7879edbe..c6b40f3e5f 100644
--- a/keyboards/bastardkb/tbkmini/blackpill/config.h
+++ b/keyboards/bastardkb/tbkmini/blackpill/config.h
@@ -1,27 +1,9 @@
1/* 1// Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna)
2 * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) 2// Copyright 2021 Stefan Kerkmann (@KarlK90)
3 * Copyright 2021 Stefan Kerkmann (@KarlK90) 3// Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
4 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly) 4// SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Publicw License as published by
8 * the Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#pragma once 5#pragma once
21 6
22/* Handedness. */
23#define SPLIT_HAND_PIN A3 // High -> left, Low -> right.
24
25/* RGB settings. */ 7/* RGB settings. */
26#define WS2812_PWM_DRIVER PWMD2 8#define WS2812_PWM_DRIVER PWMD2
27#define WS2812_PWM_CHANNEL 2 9#define WS2812_PWM_CHANNEL 2
@@ -30,13 +12,6 @@
30#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1 12#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1
31#define WS2812_PWM_DMA_CHANNEL 3 13#define WS2812_PWM_DMA_CHANNEL 3
32 14
33/* Serial configuration for split keyboard. */
34#define SERIAL_USART_TX_PIN A9
35
36/* CRC. */
37#define CRC8_USE_TABLE
38#define CRC8_OPTIMIZE_SPEED
39
40/* SPI config for EEPROM. */ 15/* SPI config for EEPROM. */
41#define SPI_DRIVER SPID1 16#define SPI_DRIVER SPID1
42#define SPI_SCK_PIN A5 17#define SPI_SCK_PIN A5
diff --git a/keyboards/bastardkb/tbkmini/blackpill/halconf.h b/keyboards/bastardkb/tbkmini/blackpill/halconf.h
index 5c5dff98d4..545fc20cb3 100644
--- a/keyboards/bastardkb/tbkmini/blackpill/halconf.h
+++ b/keyboards/bastardkb/tbkmini/blackpill/halconf.h
@@ -1,21 +1,6 @@
1/** 1// Copyright 2020 Nick Brassel (tzarc)
2 * Copyright 2020 Nick Brassel (tzarc) 2// Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
3 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly) 3// SPDX-License-Identifier: GPL-2.0-or-later
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once 4#pragma once
20 5
21#define HAL_USE_PWM TRUE 6#define HAL_USE_PWM TRUE
diff --git a/keyboards/bastardkb/tbkmini/blackpill/keyboard.json b/keyboards/bastardkb/tbkmini/blackpill/keyboard.json
index 61d0e741fe..df77023bd6 100644
--- a/keyboards/bastardkb/tbkmini/blackpill/keyboard.json
+++ b/keyboards/bastardkb/tbkmini/blackpill/keyboard.json
@@ -1,37 +1,23 @@
1{ 1{
2 "keyboard_name": "TBK Mini Blackpill", 2 "development_board": "blackpill_f411",
3 "usb": {
4 "device_version": "1.0.0",
5 "shared_endpoint": {
6 "keyboard": true
7 }
8 },
9 "features": {
10 "bootmagic": true,
11 "mousekey": true,
12 "extrakey": true,
13 "rgb_matrix": true
14 },
15 "eeprom": { 3 "eeprom": {
16 "driver": "spi" 4 "driver": "spi"
17 }, 5 },
18 "split": {
19 "enabled": true
20 },
21 "rgb_matrix": {
22 "driver": "ws2812"
23 },
24 "ws2812": {
25 "pin": "A1",
26 "driver": "pwm"
27 },
28 "build": {
29 "debounce_type": "asym_eager_defer_pk"
30 },
31 "matrix_pins": { 6 "matrix_pins": {
32 "cols": ["B0", "B1", "B10", "B3", "B4", "B5"], 7 "cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
33 "rows": ["A2", "B8", "A8", "B9"] 8 "rows": ["A2", "B8", "A8", "B9"]
34 }, 9 },
35 "diode_direction": "ROW2COL", 10 "split": {
36 "development_board": "blackpill_f411" 11 "handedness": {
12 "pin": "A3"
13 },
14 "serial": {
15 "driver": "usart",
16 "pin": "A9"
17 }
18 },
19 "ws2812": {
20 "driver": "pwm",
21 "pin": "A1"
22 }
37} 23}
diff --git a/keyboards/bastardkb/tbkmini/blackpill/mcuconf.h b/keyboards/bastardkb/tbkmini/blackpill/mcuconf.h
index 2b3f30cbfe..cc77ec94ae 100644
--- a/keyboards/bastardkb/tbkmini/blackpill/mcuconf.h
+++ b/keyboards/bastardkb/tbkmini/blackpill/mcuconf.h
@@ -1,22 +1,7 @@
1/* 1// Copyright 2020 Nick Brassel (tzarc)
2 * Copyright 2020 Nick Brassel (tzarc) 2// Copyright 2021 Stefan Kerkmann (@KarlK90)
3 * Copyright 2021 Stefan Kerkmann (@KarlK90) 3// Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
4 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly) 4// SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#pragma once 5#pragma once
21 6
22#include_next <mcuconf.h> 7#include_next <mcuconf.h>
diff --git a/keyboards/bastardkb/tbkmini/blackpill/rules.mk b/keyboards/bastardkb/tbkmini/blackpill/rules.mk
deleted file mode 100644
index 48c904dd64..0000000000
--- a/keyboards/bastardkb/tbkmini/blackpill/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
1AUDIO_SUPPORTED = no # Audio is not supported
2
3MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
4
5SERIAL_DRIVER = usart
diff --git a/keyboards/bastardkb/tbkmini/info.json b/keyboards/bastardkb/tbkmini/info.json
index ff2df9cdd6..f37e092c2d 100644
--- a/keyboards/bastardkb/tbkmini/info.json
+++ b/keyboards/bastardkb/tbkmini/info.json
@@ -1,24 +1,70 @@
1{ 1{
2 "url": "https://www.bastardkb.com/tbk-mini", 2 "url": "https://github.com/Bastardkb/TBK-Mini",
3 "keyboard_name": "TBK Mini",
3 "usb": { 4 "usb": {
4 "pid": "0x1828" 5 "pid": "0x1828",
6 "device_version": "2.0.0"
5 }, 7 },
8 "features": {
9 "bootmagic": true,
10 "mousekey": true,
11 "extrakey": true,
12 "rgb_matrix": true
13 },
14 "split": {
15 "enabled": true
16 },
17 "diode_direction": "ROW2COL",
6 "rgb_matrix": { 18 "rgb_matrix": {
19 "driver": "ws2812",
20 "layout": [
21 {"matrix": [0, 0], "x": 0, "y": 0, "flags": 2},
22 {"matrix": [1, 0], "x": 0, "y": 21, "flags": 2},
23 {"matrix": [2, 0], "x": 0, "y": 42, "flags": 2},
24 {"matrix": [2, 1], "x": 20, "y": 42, "flags": 4},
25 {"matrix": [1, 1], "x": 20, "y": 21, "flags": 4},
26 {"matrix": [0, 1], "x": 20, "y": 0, "flags": 4},
27 {"matrix": [0, 2], "x": 41, "y": 0, "flags": 4},
28 {"matrix": [1, 2], "x": 41, "y": 21, "flags": 4},
29 {"matrix": [2, 2], "x": 41, "y": 42, "flags": 4},
30 {"matrix": [2, 3], "x": 61, "y": 42, "flags": 4},
31 {"matrix": [1, 3], "x": 61, "y": 21, "flags": 4},
32 {"matrix": [0, 3], "x": 61, "y": 0, "flags": 4},
33 {"matrix": [0, 4], "x": 81, "y": 0, "flags": 4},
34 {"matrix": [1, 4], "x": 81, "y": 21, "flags": 4},
35 {"matrix": [2, 4], "x": 81, "y": 42, "flags": 4},
36 {"matrix": [0, 5], "x": 102, "y": 0, "flags": 4},
37 {"matrix": [1, 5], "x": 102, "y": 21, "flags": 4},
38 {"matrix": [2, 5], "x": 102, "y": 42, "flags": 4},
39 {"matrix": [3, 1], "x": 61, "y": 64, "flags": 2},
40 {"matrix": [3, 3], "x": 81, "y": 64, "flags": 2},
41 {"matrix": [3, 4], "x": 102, "y": 64, "flags": 2},
42 {"matrix": [4, 0], "x": 224, "y": 0, "flags": 2},
43 {"matrix": [5, 0], "x": 224, "y": 21, "flags": 2},
44 {"matrix": [6, 0], "x": 224, "y": 42, "flags": 2},
45 {"matrix": [6, 1], "x": 204, "y": 42, "flags": 4},
46 {"matrix": [5, 1], "x": 204, "y": 21, "flags": 4},
47 {"matrix": [4, 1], "x": 204, "y": 0, "flags": 4},
48 {"matrix": [4, 2], "x": 183, "y": 0, "flags": 4},
49 {"matrix": [5, 2], "x": 183, "y": 21, "flags": 4},
50 {"matrix": [6, 2], "x": 183, "y": 42, "flags": 4},
51 {"matrix": [6, 3], "x": 163, "y": 42, "flags": 4},
52 {"matrix": [5, 3], "x": 163, "y": 21, "flags": 4},
53 {"matrix": [4, 3], "x": 163, "y": 0, "flags": 4},
54 {"matrix": [4, 4], "x": 142, "y": 0, "flags": 4},
55 {"matrix": [5, 4], "x": 142, "y": 21, "flags": 4},
56 {"matrix": [6, 4], "x": 142, "y": 42, "flags": 4},
57 {"matrix": [4, 5], "x": 122, "y": 0, "flags": 4},
58 {"matrix": [5, 5], "x": 122, "y": 21, "flags": 4},
59 {"matrix": [6, 5], "x": 122, "y": 42, "flags": 4},
60 {"matrix": [7, 1], "x": 163, "y": 64, "flags": 2},
61 {"matrix": [7, 3], "x": 142, "y": 64, "flags": 2},
62 {"matrix": [7, 4], "x": 122, "y": 64, "flags": 2}
63 ],
7 "max_brightness": 50, 64 "max_brightness": 50,
8 "sleep": true, 65 "sleep": true,
9 "split_count": [21, 21] 66 "split_count": [21, 21]
10 }, 67 },
11 "rgblight": {
12 "led_count": 42,
13 "split_count": [21, 21]
14 },
15 "split": {
16 "transport": {
17 "sync": {
18 "matrix_state": true
19 }
20 }
21 },
22 "community_layouts": ["split_3x6_3"], 68 "community_layouts": ["split_3x6_3"],
23 "layouts": { 69 "layouts": {
24 "LAYOUT_split_3x6_3": { 70 "LAYOUT_split_3x6_3": {
@@ -29,46 +75,39 @@
29 {"matrix": [0, 3], "x": 3, "y": 0}, 75 {"matrix": [0, 3], "x": 3, "y": 0},
30 {"matrix": [0, 4], "x": 4, "y": 0}, 76 {"matrix": [0, 4], "x": 4, "y": 0},
31 {"matrix": [0, 5], "x": 5, "y": 0}, 77 {"matrix": [0, 5], "x": 5, "y": 0},
32
33 {"matrix": [4, 5], "x": 11, "y": 0}, 78 {"matrix": [4, 5], "x": 11, "y": 0},
34 {"matrix": [4, 4], "x": 12, "y": 0}, 79 {"matrix": [4, 4], "x": 12, "y": 0},
35 {"matrix": [4, 3], "x": 13, "y": 0}, 80 {"matrix": [4, 3], "x": 13, "y": 0},
36 {"matrix": [4, 2], "x": 14, "y": 0}, 81 {"matrix": [4, 2], "x": 14, "y": 0},
37 {"matrix": [4, 1], "x": 15, "y": 0}, 82 {"matrix": [4, 1], "x": 15, "y": 0},
38 {"matrix": [4, 0], "x": 16, "y": 0}, 83 {"matrix": [4, 0], "x": 16, "y": 0},
39
40 {"matrix": [1, 0], "x": 0, "y": 1}, 84 {"matrix": [1, 0], "x": 0, "y": 1},
41 {"matrix": [1, 1], "x": 1, "y": 1}, 85 {"matrix": [1, 1], "x": 1, "y": 1},
42 {"matrix": [1, 2], "x": 2, "y": 1}, 86 {"matrix": [1, 2], "x": 2, "y": 1},
43 {"matrix": [1, 3], "x": 3, "y": 1}, 87 {"matrix": [1, 3], "x": 3, "y": 1},
44 {"matrix": [1, 4], "x": 4, "y": 1}, 88 {"matrix": [1, 4], "x": 4, "y": 1},
45 {"matrix": [1, 5], "x": 5, "y": 1}, 89 {"matrix": [1, 5], "x": 5, "y": 1},
46
47 {"matrix": [5, 5], "x": 11, "y": 1}, 90 {"matrix": [5, 5], "x": 11, "y": 1},
48 {"matrix": [5, 4], "x": 12, "y": 1}, 91 {"matrix": [5, 4], "x": 12, "y": 1},
49 {"matrix": [5, 3], "x": 13, "y": 1}, 92 {"matrix": [5, 3], "x": 13, "y": 1},
50 {"matrix": [5, 2], "x": 14, "y": 1}, 93 {"matrix": [5, 2], "x": 14, "y": 1},
51 {"matrix": [5, 1], "x": 15, "y": 1}, 94 {"matrix": [5, 1], "x": 15, "y": 1},
52 {"matrix": [5, 0], "x": 16, "y": 1}, 95 {"matrix": [5, 0], "x": 16, "y": 1},
53
54 {"matrix": [2, 0], "x": 0, "y": 2}, 96 {"matrix": [2, 0], "x": 0, "y": 2},
55 {"matrix": [2, 1], "x": 1, "y": 2}, 97 {"matrix": [2, 1], "x": 1, "y": 2},
56 {"matrix": [2, 2], "x": 2, "y": 2}, 98 {"matrix": [2, 2], "x": 2, "y": 2},
57 {"matrix": [2, 3], "x": 3, "y": 2}, 99 {"matrix": [2, 3], "x": 3, "y": 2},
58 {"matrix": [2, 4], "x": 4, "y": 2}, 100 {"matrix": [2, 4], "x": 4, "y": 2},
59 {"matrix": [2, 5], "x": 5, "y": 2}, 101 {"matrix": [2, 5], "x": 5, "y": 2},
60
61 {"matrix": [6, 5], "x": 11, "y": 2}, 102 {"matrix": [6, 5], "x": 11, "y": 2},
62 {"matrix": [6, 4], "x": 12, "y": 2}, 103 {"matrix": [6, 4], "x": 12, "y": 2},
63 {"matrix": [6, 3], "x": 13, "y": 2}, 104 {"matrix": [6, 3], "x": 13, "y": 2},
64 {"matrix": [6, 2], "x": 14, "y": 2}, 105 {"matrix": [6, 2], "x": 14, "y": 2},
65 {"matrix": [6, 1], "x": 15, "y": 2}, 106 {"matrix": [6, 1], "x": 15, "y": 2},
66 {"matrix": [6, 0], "x": 16, "y": 2}, 107 {"matrix": [6, 0], "x": 16, "y": 2},
67
68 {"matrix": [3, 3], "x": 5, "y": 3}, 108 {"matrix": [3, 3], "x": 5, "y": 3},
69 {"matrix": [3, 4], "x": 6, "y": 3}, 109 {"matrix": [3, 4], "x": 6, "y": 3},
70 {"matrix": [3, 1], "x": 7, "y": 3}, 110 {"matrix": [3, 1], "x": 7, "y": 3},
71
72 {"matrix": [7, 1], "x": 9, "y": 3}, 111 {"matrix": [7, 1], "x": 9, "y": 3},
73 {"matrix": [7, 4], "x": 10, "y": 3}, 112 {"matrix": [7, 4], "x": 10, "y": 3},
74 {"matrix": [7, 3], "x": 11, "y": 3} 113 {"matrix": [7, 3], "x": 11, "y": 3}
diff --git a/keyboards/bastardkb/tbkmini/keymaps/default/keymap.c b/keyboards/bastardkb/tbkmini/keymaps/default/keymap.c
deleted file mode 100644
index d87e9c2a44..0000000000
--- a/keyboards/bastardkb/tbkmini/keymaps/default/keymap.c
+++ /dev/null
@@ -1,69 +0,0 @@
1/*
2 * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include QMK_KEYBOARD_H
19
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21
22 [0] = LAYOUT_split_3x6_3(
23 //,-----------------------------------------------------. ,-----------------------------------------------------.
24 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
25 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
26 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
27 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
28 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
29 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
30 KC_LGUI, KC_SPC, MO(1), MO(2), KC_ENT, KC_RALT
31 //`--------------------------' `--------------------------'
32
33 ),
34
35 [1] = LAYOUT_split_3x6_3(
36 //,-----------------------------------------------------. ,-----------------------------------------------------.
37 KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
38 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
39 KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, XXXXXXX, XXXXXXX,
40 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
41 KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
42 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
43 KC_LGUI, KC_SPC, _______, MO(3), KC_ENT, KC_RALT
44 //`--------------------------' `--------------------------'
45 ),
46
47 [2] = LAYOUT_split_3x6_3(
48 //,-----------------------------------------------------. ,-----------------------------------------------------.
49 KC_TAB, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
50 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
51 KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_GRV,
52 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
53 KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_TILD,
54 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
55 KC_LGUI, KC_SPC, MO(3), _______, KC_ENT, KC_RALT
56 //`--------------------------' `--------------------------'
57 ),
58
59 [3] = LAYOUT_split_3x6_3(
60 //,-----------------------------------------------------. ,-----------------------------------------------------.
61 QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
62 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
63 RM_TOGG, RM_HUEU, RM_SATU, RM_VALU, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
64 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
65 RM_NEXT, RM_HUED, RM_SATD, RM_VALD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
66 //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
67 KC_LGUI, KC_SPC, _______, _______, KC_ENT, KC_RALT
68 //`--------------------------' `--------------------------'
69 )};
diff --git a/keyboards/bastardkb/tbkmini/keymaps/default/keymap.json b/keyboards/bastardkb/tbkmini/keymaps/default/keymap.json
new file mode 100644
index 0000000000..58a02b797c
--- /dev/null
+++ b/keyboards/bastardkb/tbkmini/keymaps/default/keymap.json
@@ -0,0 +1,25 @@
1{
2 "keyboard": "bastardkb/tbkmini",
3 "keymap": "default",
4 "layout": "LAYOUT_split_3x6_3",
5 "layers": [
6 [
7 "KC_TAB", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_BSPC",
8 "KC_LCTL", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT",
9 "KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_ESC",
10 "KC_LGUI", "MO(1)", "KC_SPC", "KC_ENT", "MO(2)", "KC_RALT"
11 ],
12 [
13 "_______", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "_______",
14 "_______", "KC_EXLM", "KC_AT", "KC_HASH", "KC_DLR", "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "_______",
15 "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
16 "_______", "_______", "_______", "_______", "_______", "_______"
17 ],
18 [
19 "QK_BOOT", "_______", "_______", "_______", "_______", "_______", "RM_VALU", "RM_HUEU", "RM_SATU", "RM_NEXT", "RM_TOGG", "_______",
20 "EE_CLR", "_______", "_______", "_______", "_______", "_______", "RM_VALD", "RM_HUED", "RM_SATD", "RM_PREV", "CK_TOGG", "_______",
21 "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
22 "_______", "_______", "_______", "_______", "_______", "_______"
23 ]
24 ]
25}
diff --git a/keyboards/bastardkb/tbkmini/promicro/keyboard.json b/keyboards/bastardkb/tbkmini/promicro/keyboard.json
new file mode 100644
index 0000000000..c1e653ffc1
--- /dev/null
+++ b/keyboards/bastardkb/tbkmini/promicro/keyboard.json
@@ -0,0 +1,15 @@
1{
2 "development_board": "elite_c",
3 "matrix_pins": {
4 "cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
5 "rows": ["F7", "C6", "D4", "B5"]
6 },
7 "split": {
8 "serial": {
9 "pin": "D2"
10 }
11 },
12 "ws2812": {
13 "pin": "D3"
14 }
15}
diff --git a/keyboards/bastardkb/tbkmini/readme.md b/keyboards/bastardkb/tbkmini/readme.md
index 74e24ff506..cc3e547ff4 100644
--- a/keyboards/bastardkb/tbkmini/readme.md
+++ b/keyboards/bastardkb/tbkmini/readme.md
@@ -1,29 +1,27 @@
1# TBK Mini 1# TBK Mini
2 2
3A split, compact ergonomic keyboard. 3* Keyboard Maintainer: [Quentin Lebastard](https://github.com/bastardkb)
4* Hardware Supported: BastardKB Blackpill or Pro Micro adapter & compatible development boards
5* Hardware Availability: [GitHub](https://github.com/Bastardkb/TBK-Mini)
4 6
5* Keyboard Maintainer: [Bastard Keyboards](https://github.com/Bastardkb/) 7Make example for this keyboard (after setting up your build environment):
6* Hardware Supported: elite-C V4
7* Hardware Availability: [Bastardkb.com](https://bastardkb.com/)
8 8
9## Building the firmware 9 make bastardkb/tbkmini/blackpill:default
10 make bastardkb/tbkmini/promicro:default
10 11
11**You must specify the shield version when compiling/flashing the firmware.** 12Flashing example for this keyboard:
12 13
13The template is: 14 make bastardkb/tbkmini/blackpill:default:flash
15 make bastardkb/tbkmini/promicro:default:flash
14 16
15```shell 17Note if using the `promicro` version: If you are using an Elite-C compatible development board, see [here](../readme.md#handedness-in-on-elite-c-holder) for setting handedness by pin.
16qmk compile -kb bastardkb/tbkmini/{VERSION}/elitec -km {KEYMAP}
17```
18
19| Shield Version | default | via |
20| --------------- | -------------------------------------------------------------- | ---------------------------------------------------------- |
21| v1 (Elite-C) | `qmk compile -kb bastardkb/tbkmini/v1/elitec -km default` | `qmk compile -kb bastardkb/tbkmini/v1/elitec -km via` |
22| v2 (Elite-C) | `qmk compile -kb bastardkb/tbkmini/v2/elitec -km default` | `qmk compile -kb bastardkb/tbkmini/v2/elitec -km via` |
23| v2 (Splinky v2) | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v2 -km default` | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v2 -km via` |
24| v2 (Splinky v3) | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v3 -km default` | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v3 -km via` |
25| v2 (STeMCell) | `qmk compile -kb bastardkb/tbkmini/v2/stemcell -km default` | `qmk compile -kb bastardkb/tbkmini/v2/stemcell -km via` |
26 18
27See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). 19See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
28 20
29See the [keyboard build instructions](http://docs.bastardkb.com/) 21## Bootloader
22
23Enter the bootloader in 3 ways:
24
25* **Bootmagic reset**: Hold down the key at (0,0) in the matrix and plug in the keyboard
26* **Physical reset button**: Briefly press the button on the back of the adapter PCB
27* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
diff --git a/keyboards/bastardkb/tbkmini/tbkmini.c b/keyboards/bastardkb/tbkmini/tbkmini.c
deleted file mode 100644
index 51baefb737..0000000000
--- a/keyboards/bastardkb/tbkmini/tbkmini.c
+++ /dev/null
@@ -1,61 +0,0 @@
1/**
2 * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "quantum.h"
19
20// clang-format off
21#ifdef RGB_MATRIX_ENABLE
22led_config_t g_led_config = { {
23 // left
24 { 0, 5, 6, 11, 12, 15 },
25 { 1, 4, 7, 10, 13, 16 },
26 { 2, 3, 8, 9, 14, 17 },
27 { NO_LED, 18, NO_LED, 19, 20, NO_LED },
28 // right
29 { 21, 26, 27, 32, 33, 36 },
30 { 22, 25, 28, 31, 34, 37 },
31 { 23, 24, 29, 30, 35, 38 },
32 { NO_LED, 39, NO_LED, 40, 41, NO_LED }
33}, {
34 // left
35 { 0, 0 }, { 0, 21 }, { 0, 42 }, // col 1
36 { 20, 42 }, { 20, 21 }, { 20, 0 }, // col 2
37 { 41, 0 }, { 41, 21 }, { 41, 42 },
38 { 61, 42 }, { 61, 21 }, { 61, 0 },
39 { 81, 0 }, { 81, 21 }, { 81, 42 },
40 { 102, 0 }, { 102, 21 }, { 102, 42 },
41 { 61, 64 }, { 81, 64 }, { 102, 64 }, // left thumb cluster
42 // right
43 { 224, 0 }, { 224, 21 }, { 224, 42 }, // col 12
44 { 204, 42 }, { 204, 21 }, { 204, 0 }, // col 11
45 { 183, 0 }, { 183, 21 }, { 183, 42 },
46 { 163, 42 }, { 163, 21 }, { 163, 0 },
47 { 142, 0 }, { 142, 21 }, { 142, 42 },
48 { 122, 0 }, { 122, 21 }, { 122, 42 },
49 { 163, 64 }, { 142, 64 }, { 122, 64 } // right thumb cluster
50}, {
51 // left
52 2, 2, 2, 4, 4, 4, 4, 4, 4,
53 4, 4, 4, 4, 4, 4, 4, 4, 4,
54 2, 2, 2,
55 // right
56 2, 2, 2, 4, 4, 4, 4, 4, 4,
57 4, 4, 4, 4, 4, 4, 4, 4, 4,
58 2, 2, 2
59} };
60#endif
61// clang-format on
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/config.h b/keyboards/bastardkb/tbkmini/v1/elitec/config.h
deleted file mode 100644
index 41b5aa1c66..0000000000
--- a/keyboards/bastardkb/tbkmini/v1/elitec/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2 * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
3 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21/* Handedness. */
22#define MASTER_RIGHT
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/keyboard.json b/keyboards/bastardkb/tbkmini/v1/elitec/keyboard.json
deleted file mode 100644
index 5110ea0d74..0000000000
--- a/keyboards/bastardkb/tbkmini/v1/elitec/keyboard.json
+++ /dev/null
@@ -1,31 +0,0 @@
1{
2 "keyboard_name": "TBK Mini Elite-C",
3 "usb": {
4 "device_version": "1.0.0"
5 },
6 "features": {
7 "bootmagic": true,
8 "mousekey": true,
9 "extrakey": true,
10 "rgb_matrix": true
11 },
12 "ws2812": {
13 "pin": "D2"
14 },
15 "rgb_matrix": {
16 "driver": "ws2812"
17 },
18 "matrix_pins": {
19 "cols": ["B4", "E6", "C6", "B1", "B3", "B2"],
20 "rows": ["B5", "F7", "F6", "B6"]
21 },
22 "diode_direction": "ROW2COL",
23 "split": {
24 "enabled": true,
25 "serial": {
26 "pin": "D0"
27 }
28 },
29 "processor": "atmega32u4",
30 "bootloader": "atmel-dfu"
31}
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/rules.mk b/keyboards/bastardkb/tbkmini/v1/elitec/rules.mk
deleted file mode 100644
index 1868c4bb02..0000000000
--- a/keyboards/bastardkb/tbkmini/v1/elitec/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1AUDIO_SUPPORTED = no # Audio is not supported
diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/config.h b/keyboards/bastardkb/tbkmini/v2/elitec/config.h
deleted file mode 100644
index e6b7fefa66..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/elitec/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/*
2 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Handedness. */
21#define MASTER_RIGHT
diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/keyboard.json b/keyboards/bastardkb/tbkmini/v2/elitec/keyboard.json
deleted file mode 100644
index 701ec6af28..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/elitec/keyboard.json
+++ /dev/null
@@ -1,31 +0,0 @@
1{
2 "keyboard_name": "TBK Mini Elite-C",
3 "usb": {
4 "device_version": "2.0.0"
5 },
6 "features": {
7 "bootmagic": true,
8 "mousekey": true,
9 "extrakey": true,
10 "rgb_matrix": true
11 },
12 "ws2812": {
13 "pin": "D3"
14 },
15 "rgb_matrix": {
16 "driver": "ws2812"
17 },
18 "matrix_pins": {
19 "cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
20 "rows": ["F7", "C6", "D4", "B5"]
21 },
22 "diode_direction": "ROW2COL",
23 "split": {
24 "enabled": true,
25 "serial": {
26 "pin": "D2"
27 }
28 },
29 "processor": "atmega32u4",
30 "bootloader": "atmel-dfu"
31}
diff --git a/keyboards/bastardkb/tbkmini/v2/elitec/rules.mk b/keyboards/bastardkb/tbkmini/v2/elitec/rules.mk
deleted file mode 100644
index 1868c4bb02..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/elitec/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
1AUDIO_SUPPORTED = no # Audio is not supported
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h b/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h
deleted file mode 100644
index 977fb0a6e8..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_2/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
1/*
2 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Handedness. */
21#define MASTER_RIGHT
22
23// To use the handedness pin, resistors need to be installed on the adapter PCB.
24// If so, uncomment the following code, and undefine MASTER_RIGHT above.
25// #define SPLIT_HAND_PIN GP13
26// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
27
28/* Reset. */
29#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
30#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
31#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/keyboard.json b/keyboards/bastardkb/tbkmini/v2/splinky_2/keyboard.json
deleted file mode 100644
index 15db3db6e8..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_2/keyboard.json
+++ /dev/null
@@ -1,32 +0,0 @@
1{
2 "keyboard_name": "TBK Mini Splinky",
3 "usb": {
4 "device_version": "2.0.0"
5 },
6 "features": {
7 "bootmagic": true,
8 "mousekey": false,
9 "extrakey": true,
10 "rgb_matrix": true
11 },
12 "rgb_matrix": {
13 "driver": "ws2812"
14 },
15 "matrix_pins": {
16 "cols": ["GP27", "GP28", "GP15", "GP6", "GP7", "GP8"],
17 "rows": ["GP26", "GP5", "GP4", "GP9"]
18 },
19 "diode_direction": "ROW2COL",
20 "split": {
21 "enabled": true,
22 "serial": {
23 "pin": "GP1"
24 }
25 },
26 "ws2812": {
27 "pin": "GP0",
28 "driver": "vendor"
29 },
30 "processor": "RP2040",
31 "bootloader": "rp2040"
32}
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/readme.md b/keyboards/bastardkb/tbkmini/v2/splinky_2/readme.md
deleted file mode 100644
index 662eb5825c..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_2/readme.md
+++ /dev/null
@@ -1,5 +0,0 @@
1# Splinky controller
2
3The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
4
5See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_2/rules.mk b/keyboards/bastardkb/tbkmini/v2/splinky_2/rules.mk
deleted file mode 100644
index 077573eb76..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_2/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
1AUDIO_SUPPORTED = no # Audio is not supported
2
3SERIAL_DRIVER = vendor
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h b/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h
deleted file mode 100644
index e496023656..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_3/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
1/*
2 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Handedness. */
21#define MASTER_RIGHT
22
23// To use the handedness pin, resistors need to be installed on the adapter PCB.
24// If so, uncomment the following code, and undefine MASTER_RIGHT above.
25// #define SPLIT_HAND_PIN GP15
26// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
27
28/* Reset. */
29#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
30#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
31#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/keyboard.json b/keyboards/bastardkb/tbkmini/v2/splinky_3/keyboard.json
deleted file mode 100644
index 3936b9368a..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_3/keyboard.json
+++ /dev/null
@@ -1,32 +0,0 @@
1{
2 "keyboard_name": "TBK Mini Splinky",
3 "usb": {
4 "device_version": "2.0.0"
5 },
6 "features": {
7 "bootmagic": true,
8 "mousekey": false,
9 "extrakey": true,
10 "rgb_matrix": true
11 },
12 "rgb_matrix": {
13 "driver": "ws2812"
14 },
15 "matrix_pins": {
16 "cols": ["GP27", "GP28", "GP21", "GP6", "GP7", "GP8"],
17 "rows": ["GP26", "GP5", "GP4", "GP9"]
18 },
19 "diode_direction": "ROW2COL",
20 "split": {
21 "enabled": true,
22 "serial": {
23 "pin": "GP1"
24 }
25 },
26 "ws2812": {
27 "pin": "GP0",
28 "driver": "vendor"
29 },
30 "processor": "RP2040",
31 "bootloader": "rp2040"
32}
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/readme.md b/keyboards/bastardkb/tbkmini/v2/splinky_3/readme.md
deleted file mode 100644
index 662eb5825c..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_3/readme.md
+++ /dev/null
@@ -1,5 +0,0 @@
1# Splinky controller
2
3The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
4
5See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
diff --git a/keyboards/bastardkb/tbkmini/v2/splinky_3/rules.mk b/keyboards/bastardkb/tbkmini/v2/splinky_3/rules.mk
deleted file mode 100644
index 077573eb76..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/splinky_3/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
1AUDIO_SUPPORTED = no # Audio is not supported
2
3SERIAL_DRIVER = vendor
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h b/keyboards/bastardkb/tbkmini/v2/stemcell/config.h
deleted file mode 100644
index ca1cc0f719..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/*
2 * Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20/* Handedness. */
21#define MASTER_RIGHT
22
23// To use the handedness pin, resistors need to be installed on the adapter PCB.
24// If so, uncomment the following code, and undefine MASTER_RIGHT above.
25// #define A0 PAL_LINE(GPIOA, 0)
26// #define SPLIT_HAND_PIN A0
27// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
28
29/* RGB settings. */
30#define WS2812_PWM_DRIVER PWMD2
31#define WS2812_PWM_CHANNEL 4
32#define WS2812_PWM_PAL_MODE 1
33#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM7
34#define WS2812_PWM_DMA_CHANNEL 3
35
36/* CRC. */
37#define CRC8_USE_TABLE
38#define CRC8_OPTIMIZE_SPEED
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/halconf.h b/keyboards/bastardkb/tbkmini/v2/stemcell/halconf.h
deleted file mode 100644
index dbeb6aeaa0..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/halconf.h
+++ /dev/null
@@ -1,23 +0,0 @@
1/*
2 * Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#define HAL_USE_PWM TRUE
21#define HAL_USE_SERIAL TRUE
22
23#include_next <halconf.h>
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/keyboard.json b/keyboards/bastardkb/tbkmini/v2/stemcell/keyboard.json
deleted file mode 100644
index 2cbee7fe17..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/keyboard.json
+++ /dev/null
@@ -1,34 +0,0 @@
1{
2 "keyboard_name": "TBK Mini STeMCell",
3 "usb": {
4 "device_version": "2.0.0"
5 },
6 "features": {
7 "bootmagic": true,
8 "mousekey": true,
9 "extrakey": true,
10 "rgb_matrix": true
11 },
12 "rgb_matrix": {
13 "driver": "ws2812"
14 },
15 "ws2812": {
16 "pin": "A2",
17 "driver": "pwm"
18 },
19 "build": {
20 "debounce_type": "asym_eager_defer_pk"
21 },
22 "matrix_pins": {
23 "cols": ["B1", "B2", "A4", "B4", "B5", "B8"],
24 "rows": ["B0", "B3", "A15", "B9"]
25 },
26 "diode_direction": "ROW2COL",
27 "split": {
28 "enabled": true,
29 "serial": {
30 "pin": "A3"
31 }
32 },
33 "development_board": "stemcell"
34}
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/mcuconf.h b/keyboards/bastardkb/tbkmini/v2/stemcell/mcuconf.h
deleted file mode 100644
index 6afebade36..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/mcuconf.h
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2 * Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include_next <mcuconf.h>
21
22#undef STM32_SERIAL_USE_USART1
23#define STM32_SERIAL_USE_USART1 FALSE
24
25#undef STM32_PWM_USE_TIM2
26#define STM32_PWM_USE_TIM2 TRUE
27
28#undef STM32_ST_USE_TIMER
29#define STM32_ST_USE_TIMER 5
diff --git a/keyboards/bastardkb/tbkmini/v2/stemcell/rules.mk b/keyboards/bastardkb/tbkmini/v2/stemcell/rules.mk
deleted file mode 100644
index 3fe3e4ffbe..0000000000
--- a/keyboards/bastardkb/tbkmini/v2/stemcell/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
1AUDIO_SUPPORTED = no # Audio is not supported
2
3SERIAL_DRIVER = usart