Add svlinky converter (#24449)
This commit is contained in:
parent
8844fba607
commit
9d17779832
@ -84,6 +84,11 @@
|
|||||||
"board": "STEMCELL",
|
"board": "STEMCELL",
|
||||||
"bootloader": "tinyuf2",
|
"bootloader": "tinyuf2",
|
||||||
"processor": "STM32F411"
|
"processor": "STM32F411"
|
||||||
|
},
|
||||||
|
"svlinky": {
|
||||||
|
"board": "QMK_PM2040",
|
||||||
|
"bootloader": "rp2040",
|
||||||
|
"processor": "RP2040"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
},
|
},
|
||||||
"development_board": {
|
"development_board": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"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"]
|
"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"]
|
||||||
},
|
},
|
||||||
"pin_compatible": {
|
"pin_compatible": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -21,6 +21,7 @@ The following converters are available at this time:
|
|||||||
| `promicro` | `liatris` |
|
| `promicro` | `liatris` |
|
||||||
| `promicro` | `imera` |
|
| `promicro` | `imera` |
|
||||||
| `promicro` | `michi` |
|
| `promicro` | `michi` |
|
||||||
|
| `promicro` | `svlinky` |
|
||||||
| `elite_c` | `stemcell` |
|
| `elite_c` | `stemcell` |
|
||||||
| `elite_c` | `rp2040_ce` |
|
| `elite_c` | `rp2040_ce` |
|
||||||
| `elite_c` | `elite_pi` |
|
| `elite_c` | `elite_pi` |
|
||||||
@ -87,6 +88,7 @@ If a board currently supported in QMK uses a [Pro Micro](https://www.sparkfun.co
|
|||||||
| [Liatris](https://splitkb.com/products/liatris) | `liatris` |
|
| [Liatris](https://splitkb.com/products/liatris) | `liatris` |
|
||||||
| [Imera](https://splitkb.com/products/imera) | `imera` |
|
| [Imera](https://splitkb.com/products/imera) | `imera` |
|
||||||
| [Michi](https://github.com/ci-bus/michi-promicro-rp2040) | `michi` |
|
| [Michi](https://github.com/ci-bus/michi-promicro-rp2040) | `michi` |
|
||||||
|
| [Svlinky](https://github.com/sadekbaroudi/svlinky) | `svlinky` |
|
||||||
|
|
||||||
Converter summary:
|
Converter summary:
|
||||||
|
|
||||||
@ -105,6 +107,7 @@ Converter summary:
|
|||||||
| `liatris` | `-e CONVERT_TO=liatris` | `CONVERT_TO=liatris` | `#ifdef CONVERT_TO_LIATRIS` |
|
| `liatris` | `-e CONVERT_TO=liatris` | `CONVERT_TO=liatris` | `#ifdef CONVERT_TO_LIATRIS` |
|
||||||
| `imera` | `-e CONVERT_TO=imera` | `CONVERT_TO=imera` | `#ifdef CONVERT_TO_IMERA` |
|
| `imera` | `-e CONVERT_TO=imera` | `CONVERT_TO=imera` | `#ifdef CONVERT_TO_IMERA` |
|
||||||
| `michi` | `-e CONVERT_TO=michi` | `CONVERT_TO=michi` | `#ifdef CONVERT_TO_MICHI` |
|
| `michi` | `-e CONVERT_TO=michi` | `CONVERT_TO=michi` | `#ifdef CONVERT_TO_MICHI` |
|
||||||
|
| `svlinky` | `-e CONVERT_TO=svlinky` | `CONVERT_TO=svlinky` | `#ifdef CONVERT_TO_SVLINKY` |
|
||||||
|
|
||||||
### Proton C {#proton_c}
|
### Proton C {#proton_c}
|
||||||
|
|
||||||
@ -170,6 +173,9 @@ The Bonsai C4 only has one on-board LED (B2), and by default, both the Pro Micro
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
### Svlinky {#svlinky}
|
||||||
|
|
||||||
|
Feature set is a pro micro equivalent of the [RP2040 Community Edition](#rp2040_ce), except that two of the analog GPIO have been replaced with digital only GPIO. These two were moved to the FPC connector to support the [VIK specification](https://github.com/sadekbaroudi/vik). This means that if you are expecting analog support on all 4 pins as provided on a RP2040 Community Edition pinout, you will not have that. Please see the [Svlinky github page](https://github.com/sadekbaroudi/svlinky) for more details.
|
||||||
|
|
||||||
## Elite-C
|
## Elite-C
|
||||||
|
|
||||||
|
36
platforms/chibios/converters/promicro_to_svlinky/_pin_defs.h
Normal file
36
platforms/chibios/converters/promicro_to_svlinky/_pin_defs.h
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
// Copyright 2023 QMK
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Left side (front)
|
||||||
|
#define D3 0U
|
||||||
|
#define D2 1U
|
||||||
|
// GND
|
||||||
|
// GND
|
||||||
|
#define D1 2U
|
||||||
|
#define D0 3U
|
||||||
|
#define D4 4U
|
||||||
|
#define C6 5U
|
||||||
|
#define D7 6U
|
||||||
|
#define E6 7U
|
||||||
|
#define B4 8U
|
||||||
|
#define B5 9U
|
||||||
|
|
||||||
|
// Right side (front)
|
||||||
|
// RAW
|
||||||
|
// GND
|
||||||
|
// RESET
|
||||||
|
// VCC
|
||||||
|
#define F4 29U
|
||||||
|
#define F5 28U
|
||||||
|
#define F6 18U
|
||||||
|
#define F7 24U
|
||||||
|
#define B1 22U
|
||||||
|
#define B3 20U
|
||||||
|
#define B2 23U
|
||||||
|
#define B6 21U
|
||||||
|
|
||||||
|
// LEDs
|
||||||
|
#define D5 17U
|
||||||
|
#define B0 25U
|
@ -0,0 +1,10 @@
|
|||||||
|
# rp2040_ce MCU settings for converting AVR projects
|
||||||
|
MCU := RP2040
|
||||||
|
BOARD := QMK_PM2040
|
||||||
|
BOOTLOADER := rp2040
|
||||||
|
|
||||||
|
# These are defaults based on what has been implemented for RP2040 boards
|
||||||
|
SERIAL_DRIVER ?= vendor
|
||||||
|
WS2812_DRIVER ?= vendor
|
||||||
|
BACKLIGHT_DRIVER ?= software
|
||||||
|
OPT_DEFS += -DUSB_VBUS_PIN=19U
|
Loading…
x
Reference in New Issue
Block a user