9d17779832563dba59ad26c58b6aeabd1d4488d9
- Author
- Sadek Baroudi <sadekbaroudi@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/data/mappings/defaults.hjson b/data/mappings/defaults.hjson
2index 71902c92d68cebb1cc071d3d1b689486332808ba..32322a030953b708f16baffa63c208e8a2493aef 100644
3--- a/data/mappings/defaults.hjson
4+++ b/data/mappings/defaults.hjson
5@@ -84,6 +84,11 @@
6 "board": "STEMCELL",
7 "bootloader": "tinyuf2",
8 "processor": "STM32F411"
9+ },
10+ "svlinky": {
11+ "board": "QMK_PM2040",
12+ "bootloader": "rp2040",
13+ "processor": "RP2040"
14 }
15 }
16 }
17diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
18index 7649a8e31b26b89e6e6aa0dcbce35f0bc8658c0f..72a33f55ad156a85cb833e1c87aebd1265978e41 100644
19--- a/data/schemas/keyboard.jsonschema
20+++ b/data/schemas/keyboard.jsonschema
21@@ -45,7 +45,7 @@
22 },
23 "development_board": {
24 "type": "string",
25- "enum": ["promicro", "elite_c", "elite_pi", "proton_c", "kb2040", "promicro_rp2040", "blok", "michi", "bit_c_pro", "stemcell", "bluepill", "blackpill_f401", "blackpill_f411", "bonsai_c4", "helios", "liatris", "imera"]
26+ "enum": ["promicro", "elite_c", "elite_pi", "proton_c", "kb2040", "promicro_rp2040", "blok", "michi", "bit_c_pro", "stemcell", "bluepill", "blackpill_f401", "blackpill_f411", "bonsai_c4", "helios", "liatris", "imera", "svlinky"]
27 },
28 "pin_compatible": {
29 "type": "string",
30diff --git a/docs/feature_converters.md b/docs/feature_converters.md
31index 0021c34e519dbba828a490e5afd634ecc6f43d7b..06cc7b3a11f3cf506c128474de318d59e4c297db 100644
32--- a/docs/feature_converters.md
33+++ b/docs/feature_converters.md
34@@ -21,6 +21,7 @@ The following converters are available at this time:
35 | `promicro` | `liatris` |
36 | `promicro` | `imera` |
37 | `promicro` | `michi` |
38+| `promicro` | `svlinky` |
39 | `elite_c` | `stemcell` |
40 | `elite_c` | `rp2040_ce` |
41 | `elite_c` | `elite_pi` |
42@@ -87,6 +88,7 @@ If a board currently supported in QMK uses a [Pro Micro](https://www.sparkfun.co
43 | [Liatris](https://splitkb.com/products/liatris) | `liatris` |
44 | [Imera](https://splitkb.com/products/imera) | `imera` |
45 | [Michi](https://github.com/ci-bus/michi-promicro-rp2040) | `michi` |
46+| [Svlinky](https://github.com/sadekbaroudi/svlinky) | `svlinky` |
47
48 Converter summary:
49
50@@ -105,6 +107,7 @@ Converter summary:
51 | `liatris` | `-e CONVERT_TO=liatris` | `CONVERT_TO=liatris` | `#ifdef CONVERT_TO_LIATRIS` |
52 | `imera` | `-e CONVERT_TO=imera` | `CONVERT_TO=imera` | `#ifdef CONVERT_TO_IMERA` |
53 | `michi` | `-e CONVERT_TO=michi` | `CONVERT_TO=michi` | `#ifdef CONVERT_TO_MICHI` |
54+| `svlinky` | `-e CONVERT_TO=svlinky` | `CONVERT_TO=svlinky` | `#ifdef CONVERT_TO_SVLINKY` |
55
56 ### Proton C {#proton_c}
57
58@@ -170,6 +173,9 @@ The Bonsai C4 only has one on-board LED (B2), and by default, both the Pro Micro
59
60 Feature set is identical to [Adafruit KB2040](#kb2040). VBUS detection is enabled by default for superior split keyboard support. For more information, refer to the [Community Edition pinout](platformdev_rp2040#rp2040_ce) docs.
61
62+### Svlinky {#svlinky}
63+
64diff --git a/platforms/chibios/converters/promicro_to_svlinky/_pin_defs.h b/platforms/chibios/converters/promicro_to_svlinky/_pin_defs.h
65new file mode 100644
66index 0000000000000000000000000000000000000000..b90e5f402038387e9cf519c8388ff576fc4c7566
67--- /dev/null
68+++ b/platforms/chibios/converters/promicro_to_svlinky/_pin_defs.h
69@@ -0,0 +1,36 @@
70+// Copyright 2023 QMK
71+// SPDX-License-Identifier: GPL-2.0-or-later
72+
73+#pragma once
74+
75+// Left side (front)
76+#define D3 0U
77+#define D2 1U
78+// GND
79+// GND
80+#define D1 2U
81+#define D0 3U
82+#define D4 4U
83+#define C6 5U
84+#define D7 6U
85+#define E6 7U
86+#define B4 8U
87+#define B5 9U
88+
89+// Right side (front)
90+// RAW
91+// GND
92+// RESET
93+// VCC
94+#define F4 29U
95+#define F5 28U
96+#define F6 18U
97+#define F7 24U
98+#define B1 22U
99+#define B3 20U
100+#define B2 23U
101+#define B6 21U
102+
103+// LEDs
104+#define D5 17U
105+#define B0 25U
106diff --git a/platforms/chibios/converters/promicro_to_svlinky/converter.mk b/platforms/chibios/converters/promicro_to_svlinky/converter.mk
107new file mode 100644
108index 0000000000000000000000000000000000000000..bfca20cd9932473a7137ff7895d208798d865447
109--- /dev/null
110+++ b/platforms/chibios/converters/promicro_to_svlinky/converter.mk
111@@ -0,0 +1,10 @@
112+# rp2040_ce MCU settings for converting AVR projects
113+MCU := RP2040
114+BOARD := QMK_PM2040
115+BOOTLOADER := rp2040
116+
117+# These are defaults based on what has been implemented for RP2040 boards
118+SERIAL_DRIVER ?= vendor
119+WS2812_DRIVER ?= vendor
120+BACKLIGHT_DRIVER ?= software
121+OPT_DEFS += -DUSB_VBUS_PIN=19U