Roadmap: options we haven't built¶
This page explains which AL80 features are still worth building, and why, given how little flash is left.
TL;DR
- Two whole kinds of feature cost zero flash in the firmware: host-side app work, and 1-byte
PK_*status packets over the USART3 link that's already wired. - The b75Pro enum has display opcodes we haven't sent yet:
PK_LIGHT_MODE(0x08), a native 12/24-hour toggle, and a mode where the module draws a large typed letter. - Flash is the limit. The app has 56 KB. The linker script and
nmon the linked.elfconfirm that value. The board links against the 64 KBSTM32F103x8tier, minus the 8 KB the stm32duino bootloader takes. The "xB/128 KB" header comment inconfig.hdoesn't change this. The latest build (v1.3.0/v25_locks) has ~2.37 KB left. That's why the list puts low-cost options first.
We collected these options on 2026-07-06 from the b75Pro sibling source, RIPPLE.bin, and this KB (knowledge base). Each item cites its source, so you can check it. None of them is invented.
Shipped since this survey
- Per-layer encoder: done and confirmed on-device (v1.3.0). L0 is volume, L1 is RGB brightness, L2 is RGB hue, and L3 is media. It's a hardcoded
encoder_update_user, notENCODER_MAP. The encoder isn't in this board's Vial/VIA layout, soENCODER_MAPwasn't visible. - Independent side LED bar: shipped in v1.2.0 (opcodes 0x46/47/48). The status-meter idea below builds on it.
- Instant caps/num-lock LCD icons: shipped in v1.3.0. A gated
led_update_kbhook pushes the icons when the state changes, so the 30s lag is gone. The eager debounce (sym_eager_pk) in the same release also removed the mute lag on a knob press. -
Hotkey โ LCD panel, host half:
research/al80-hotkey-panel-switch-SPARC.md. This half has two parts in al80-studio, and both have device-free tests:- The inbound
0x4Breader (device.jsโ'panelRequest'). - The debounced
cycler.jumpTo/togglePaused/steprouter (host/panel-request.js).
The firmware half is now also built (see the consolidated-firmware item below).
- The inbound
-
Per-key audio-reactive RGB, host builders:
research/al80-per-key-audio-reactive-SPARC.md. These arebuildLiveLeds/buildLiveFrame/buildLiveStopin al80-studio'ssrc/protocol.js(new opcode0x49/0x4A), with device-free tests (test/protocol.test.mjs). The firmware0x49handler is now built too (see the consolidated-firmware item below). This phase also settled the old open question about the MCU part and the flash cap (see the TL;DR above andresearch/al80-buildout-discoveries.md). -
Consolidated firmware: view-switch + hotkey + per-key keycodes:
research/al80-firmware-view-switch-keycodes-SPARC.md(+ hotkey + per-key SPARCs). This is one custom-QMK build (firmware/al80-keyboard-src/, artifactAL80_CUSTOM_QMK_v28_keycodes.bin). It adds the firstprocess_record_kbto this build (it had none before). The build has these parts:- View keys
CUSTOM(22-24)send the host-freePK_GOannounce over USART3. PANEL_*keysCUSTOM(25-29)send that announce plus araw_hid_send0x4Bto the host cycler.- The
0x49per-key LED stream handler,g_live_rgb[], the indicators paint, and the idle timeout.
It compiles clean, +452 B โ 1,976 B of the 56 KB flash free. It's not flashed yet. The on-device check procedure is in
research/al80-lcd-morning-playbook.md. The device-free wire-bytes test passes (firmware/test/firmware-wire.test.mjs). It checks that the announce bytes match both the SPARC A4 table and liveprotocol.js buildView, thatal80_crc16matchesga, and the0x4B/0x49framing. - View keys
-
Panel auto-cycle, the real always-on host:
research/al80-lcd-panel-auto-cycle-SPARC.md.host/cycle-run.mjs+host/cycle.jsnow own the one Device. With no browser tab, they:- Rotate now-playing/weather/clock, with a dwell time for each panel.
- Remove idle or stale panels from the rotation.
- Jump to now-playing when the track changes.
- Preempt to an alert card through the existing
127.0.0.1:7333intake.
The device-free tests pass (
host/test/cycle.test.mjs, 7/7). Panels (host/panels/*.js) use a smallpoll/available/renderinterface. A future dashboard idea (Pomodoro, meeting countdown, wedding countdown) can join by adding one file toCYCLE_PANELS. Two tasks are still open: confirming rotation and banding on the device, and unifying autostart (repointingrun-nowplaying.vbs). Seeresearch/al80-buildout-discoveries.md.
๐๏ธ Low-cost firmware options¶
| Option | Flash | Value | Where |
|---|---|---|---|
| Screen power-off key: toggle the C9 enable pin to blank the LCD. This is the "sleep" the KB said didn't exist (it's a GPIO, not an opcode). | ~100 B | high | al80.c:347 |
RGB layer indicator: tint a row for each active layer with rgb_matrix_indicators_advanced_kb(). |
~300 B | high | KB ยงD6 |
RGB off on host sleep: RGB_MATRIX_SLEEP is not set. |
~50 B | med | config.h |
PK_GO_HOME / PK_TOGGLE_PIC / PK_GO_GIF. |
~200 B | med | mk25047.c:1412 |
| Caps Word: standard QMK, not enabled. | ~400 B | med | โ |
๐ Native module features to probe first¶
These are worth testing before spending any flash on them, because the display module may already draw them (not confirmed on the AL80). Testing one means sending the command and watching the device. Source: b75Pro mk25047/uart_mod.h:26-59, keyboard_screen.c:217-390.
PK_LIGHT_MODE(0x08): a lighting icon/name on the homepage.PK_SWITCH_TIME: a real 12/24-hour toggle. It would retire the whole host-side "12-hour hack."PK_LETTER_SHOW/PK_LETTER_OFF: the module draws the last typed letter in a large size. It costs no pixels or framebuffer.
๐ผ๏ธ Zero-firmware-flash (host-side app)¶
- Startup boot animation (mode-0 GIF): a vendor button we never exposed.
- Live status cards on the LCD: weather โ
and now-playing โ
ship today on the always-on host (
cycle-run.mjs, see "Shipped since this survey" above). The next calendar event, the wedding countdown (the bot already exists), and a Pomodoro ring aren't built. Each one only needs a newpanels/*.jsfile that usespoll/available/render, plus a slot inCYCLE_PANELS. The host they depend on is done (research/al80-lcd-panel-auto-cycle-SPARC.md, which supersedes the originalal80-always-on-host-SPARC.mdplan).
๐ฆ Side bar as a status meter¶
The bar is 3 LEDs that are already in the matrix at indices 76โ78 (driver 1 / CS pin C8). They have the keylight flag, so today they show the same color as the keys. Overriding those three LEDs in rgb_matrix_indicators_advanced_kb() (~150 B, RAM ~3 B) would let them show a battery / caps / layer / notification meter. A bar-color command could copy the existing palette protocol (0x43-0x45).
๐ซ Not worth it (given the 56 KB ceiling)¶
- Bluetooth / 2.4G on custom: high cost. Our own reverse engineering (ยงD5) shows wireless gives less control. The radio is a separate coprocessor that accepts only 3 inbound commands.
- Autocorrect: the dictionary blob is too large when you're already removing features to fit.
- Hardware RTC port: medium flash, and it needs the LSE/backup domain. The 60s host re-sync already keeps drift from mattering.
- More framebuffer RGB effects: each effect uses exactly the flash you're trying to get back.
โญ Top 3¶
The per-layer encoder shipped (v1.3.0). These are the next options with the best value for each byte:
- Screen power-off key: ~100 B. It uses the C9 enable that
al80.calready has. It also closes an item the KB wrongly said was impossible (it's a GPIO, not an opcode). - Side bar as a status meter: the independent bar colour already shipped (v1.2.0). What's left is driving those three LEDs from the battery / caps / layer state (~150 B).
- Probe the undocumented PK opcodes: a 30-minute send-and-watch test, not a build. It could pay off the most of anything in the survey, at almost zero cost. It tells you which native features are real before you spend flash.