Skip to content

Commit

Permalink
Adjust firmware build script
Browse files Browse the repository at this point in the history
- Fix blackpill/vial/miryoku configuration
- Add missing blackpill `uf2` images
- Use `via` keymap (but with Via disabled) for Charybdis/rp2040
  • Loading branch information
0xcharly committed Jul 4, 2022
1 parent aa9202c commit 1f3fb94
Showing 1 changed file with 52 additions and 10 deletions.
62 changes: 52 additions & 10 deletions bastardkb_build_releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,16 @@ class FirmwareList(NamedTuple):
*CHARYBDIS_KEYBOARDS,
)

STABLE_ADAPTERS: list[str] = (
SMALL_FOOTPRINT_ADAPTERS: list[str] = (
"v1/elitec",
"v2/elitec",
)

STABLE_ADAPTERS: list[str] = (
*SMALL_FOOTPRINT_ADAPTERS,
"blackpill",
)

ALL_ADAPTERS: list[str] = (
*STABLE_ADAPTERS,
"v2/stemcell",
Expand Down Expand Up @@ -146,6 +151,12 @@ class FirmwareList(NamedTuple):
)
for adapter in STABLE_ADAPTERS
),
Firmware(
keyboard=f"skeletyl/blackpill",
keymap="manna-harbour_miryoku",
keymap_alias="miryoku",
env_vars=("BOOTLOADER=tinyuf2",),
),
),
),
# All firmwares built on the `bkb-develop` branch, ie. the branch tracking
Expand Down Expand Up @@ -192,26 +203,57 @@ class FirmwareList(NamedTuple):
# and dirty changes to build a Vial-enabled Miryoku keymap for the Skeletyl.
FirmwareList(
branch="bkb-vial-feat-manna_harbour-miryoku",
configurations=tuple(
configurations=(
*tuple(
Firmware(
keyboard=f"skeletyl/{adapter}",
keymap="manna-harbour_miryoku",
keymap_alias="miryoku-vial",
env_vars=(
"KEY_OVERRIDE_ENABLE=no",
"LTO_ENABLE=yes",
"MIRYOKU_ALPHAS=QWERTY",
"MIRYOKU_EXTRA=COLEMAKDH",
"QMK_SETTINGS=no",
"SPACE_CADET_ENABLE=no",
"TAP_DANCE_ENABLE=no",
"VIALRGB_ENABLE=yes",
"VIAL_ENABLE=yes",
"VIAL_INSECURE=yes",
"VIA_ENABLE=yes",
),
)
for adapter in SMALL_FOOTPRINT_ADAPTERS
),
Firmware(
keyboard=f"skeletyl/{adapter}",
keyboard="skeletyl/blackpill",
keymap="manna-harbour_miryoku",
keymap_alias="miryoku-vial",
env_vars=(
"LTO_ENABLE=no",
"MIRYOKU_ALPHAS=QWERTY",
"MIRYOKU_EXTRA=COLEMAKDH",
"VIA_ENABLE=yes",
"VIAL_ENABLE=yes",
"VIAL_INSECURE=yes",
"LTO_ENABLE=yes",
"VIALRGB_ENABLE=yes",
),
),
Firmware(
keyboard="skeletyl/blackpill",
keymap="manna-harbour_miryoku",
keymap_alias="miryoku-vial",
env_vars=(
"BOOTLOADER=tinyuf2",
"LTO_ENABLE=no",
"MIRYOKU_ALPHAS=QWERTY",
"MIRYOKU_EXTRA=COLEMAKDH",
"SPACE_CADET_ENABLE=no",
"TAP_DANCE_ENABLE=no",
"KEY_OVERRIDE_ENABLE=no",
"QMK_SETTINGS=no",
"VIA_ENABLE=yes",
"VIAL_ENABLE=yes",
"VIAL_INSECURE=yes",
"VIALRGB_ENABLE=yes",
),
)
for adapter in STABLE_ADAPTERS
),
),
),
# All firmwares built on the `bkb-stemcell` branch, ie. the branch tracking
Expand Down

0 comments on commit 1f3fb94

Please sign in to comment.