Install
M-VAVE FM-1
JieLi AC791N
Felucca platform
v0.1.0 · GPL-3.0
Target
A Claude Code plugin that builds firmware, for the M-VAVE FM-1from identity synth-firmware designs the firmwareto a signed Hub release. and writes the codeNo float, Q15 only, audio under 2.9 ms.
/plugin marketplace add saulofilho/synth-firmware
About

One method for the sound
and the chip that runs it

The plugin packages the way COQUÍ was built, so the next firmware reuses the phases, the chip rules, and the publishing flow.

Hand it an idea — a groove, an engine, a mood — and it moves phase by phase: identity, engine, patterns, melodic parts, ambience, release. Each phase assumes the last one builds and the host tests pass.

In numbers
pieces
phases
commands
lint hook
floats allowed
Audio budget per block
frames
ms window
ms target

app_audio() runs every 5.8 ms. The plugin keeps it under half that, and anything switched off costs nothing.

Inside

Four pieces, one method

The playbook

The phase model, the AC791N rules, the toolchain, build/test/install and the Firmware Hub flow. Loads on its own when a task mentions the FM-1.

skill · auto-loads↗

firmware-builder

Hand it a phase or an engine — add a cumbia groove. It respects the rules, builds, runs host tests, and never pushes or emails on its own.

agent · delegate↗

Slash commands

/firmware-new, /firmware-phase, /firmware-check, /firmware-release — scaffold, advance, lint, release.

4 commands · /↗

Chip-rule lint

After an edit to firmware C, it flags float/double, 64-bit division and ROM-range constants early. Advisory — the build is the authority.

hook · on every edit↗
Phases

Seven phases, no skipping

FoundationPhases 0–2

Phase 0
Environment
Toolchain + SDK; base compiles; tests green Setup
Phase 1
Identity
Name, free FM-1_9NN id, magics, boot, palette Brand
Phase 2
Engine
The sound engine; cost measured per voice DSP

SoundPhases 3–5

Phase 3
Patterns
Groove system + web hub + WASM emulator DSP
Phase 4
Melodic
ARP lines and patches over held chords Music
Phase 5
Mood
Generative, ambience, idle screen Music

ShipPhase 6

Phase 6
Release
Signed .fwsc, device test, Hub submission Release
Every phase
Build + host tests
Nothing advances until both pass Gate
Chip rules

The rules the AC791N enforces

No float

No FPU, no soft-float
[Q15 levels · Q12 gains]

32-bit math

No 64-bit / or %
[__udivdi3 never links]

2.9 ms

Audio interrupt target
[256 frames / 5.8 ms]

Never block

No flash, screen or wait
[inside app_audio()]

HAL only

Registers through hal/
[both flash ids accepted]
(chip-rules.md)(advisory lint · the build is the authority)
# integers only — no FPU, no soft-float
forbid  float, double            // → link fails
use     Q15 levels · Q12 gains · 32-bit phase
forbid  64-bit / and %           // no __udivdi3

# the audio interrupt
budget  app_audio() 256 frames / 5.8ms
target  < 2.9ms   ✓ off costs nothing
never   flash · screen · wait inside audio

# boundaries
hal     hardware registers only through hal/
accept  both flash ids 0x856014 · 0xB36014
Reference
implementation
COQUÍ 🐸
«Latin & Caribbean
groovebox»
Forked from GR!MM 2.0.2
14 grooves, tumbao and montuno lines
Generative parts in the clave
Tested on a real FM-1
Shipped to the Firmware Hub
Hub + web emulator ↗ · Source ↗
ROSA
MANGO
MAR
LIMA
Top