Skip to content

Commit bfe98c7

Browse files
committed
hack: add converter
1 parent 903c91c commit bfe98c7

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

.github/workflows/build_binaries.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
with:
1313
qmk_repo: vial-kb/vial-qmk
1414
qmk_ref: vial
15+
preparation_command: 'for CONVERTER in "$GITHUB_WORKSPACE/converters/*/"; do ln -s $KB vial-qmk/platforms/chibios/converters/ ; done'
1516

1617
publish:
1718
name: 'QMK Userspace Publish'
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright 2023 splitkb.com
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
// Left side (front)
7+
#define D3 3U
8+
#define D2 29U
9+
// GND
10+
// GND
11+
#define D1 25U
12+
#define D0 10U
13+
#define D4 19U
14+
#define C6 24U
15+
#define D7 23U
16+
#define E6 22U
17+
#define B4 18U
18+
#define B5 21U
19+
20+
// Right side (front)
21+
// RAW
22+
// GND
23+
// RESET
24+
// VCC
25+
#define F4 4U
26+
#define F5 9U
27+
#define F6 10U
28+
#define F7 5U
29+
#define B1 6U
30+
#define B3 7U
31+
#define B2 11U
32+
#define B6 8U
33+
34+
// LEDs
35+
#define D5 0U // Unconnected
36+
#define B0 2U // Unconnected
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# rp2040_ce MCU settings for converting AVR projects
2+
MCU := RP2040
3+
BOARD := QMK_PM2040
4+
BOOTLOADER := rp2040
5+
6+
# These are defaults based on what has been implemented for RP2040 boards
7+
SERIAL_DRIVER ?= vendor
8+
WS2812_DRIVER ?= vendor
9+
BACKLIGHT_DRIVER ?= software
10+
OPT_DEFS += -DUSB_VBUS_PIN=1U

qmk.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"vial_hlc",
77
{
88
"HLC_TFT_DISPLAY": "1",
9+
"CONVERT_TO": "halcyon",
910
"TARGET": "splitkb_kyria_rev3_vial_hlc_display"
1011
}
1112
],
@@ -14,6 +15,7 @@
1415
"vial_hlc",
1516
{
1617
"HLC_ENCODER": "1",
18+
"CONVERT_TO": "halcyon",
1719
"TARGET": "splitkb_kyria_rev3_vial_hlc_encoder"
1820
}
1921
],
@@ -22,6 +24,7 @@
2224
"vial_hlc",
2325
{
2426
"HLC_ENCODER_REV2": "1",
27+
"CONVERT_TO": "halcyon",
2528
"TARGET": "splitkb_kyria_rev3_vial_hlc_encoder_rev2"
2629
}
2730
],
@@ -30,6 +33,7 @@
3033
"vial_hlc",
3134
{
3235
"HLC_CIRQUE_TRACKPAD": "1",
36+
"CONVERT_TO": "halcyon",
3337
"TARGET": "splitkb_kyria_rev3_vial_hlc_cirque_trackpad"
3438
}
3539
],
@@ -38,6 +42,7 @@
3842
"vial_hlc",
3943
{
4044
"HLC_NONE": "1",
45+
"CONVERT_TO": "halcyon",
4146
"TARGET": "splitkb_kyria_rev3_vial_hlc"
4247
}
4348
]

0 commit comments

Comments
 (0)