modd is a modular firmware framework for the M-VAVE FM-1 synthesizer (JieLi AC791N SoC). It brings modules from nine community firmwares into one configurable source tree.
- Kconfig-driven build with defconfigs for hardware, emulator and per-upstream presets
- Header-only AC791N HAL from Melodee and Felucca
- Boot stub, update loader and M-UPGRADE OTA over USB-MIDI
- Adapter contracts that let components from different upstreams coexist
- Unity-build root assembling configured modules into one `.fwsc` firmware
- Cooperative round-robin scheduler for audio, network and UI
- Audio core with FM6 engine from FMLab and Felucca's DSP toolkit
- Felucca audio stack port: sample, slice, ADPCM engines, effects host, sequencer and storage
- Engine plugin vtable (`engine_t`) shared across all upstreams
- Voice budget system for mixing engines from different firmwares
- Clean-room WiFi STA driver with lwIP and WPA2
- HTTPS support via BearSSL with OTA firmware download
- LLM client sending requests to OpenRouter over HTTPS
- CDC-ECM USB ethernet with priority-based link routing
- BLE module from Optimist with device scanning and file transfer
- USB host: hub support, FAT32 mass storage, USB Audio Class DAC streaming
- USB-MIDI device with SysEx handling
- LVGL 9.6 modd shell with page navigation, settings, weather, files, keyboard and demo pages
- Felucca shell port with full page set and encoder controls
- Piano-key text input for WiFi SSID, password and LLM prompts
- WebSocket LCD mirror at /api/mirror
- LED animations and boot logo
- REST API with panel input injection, audio capture, memory inspection and OpenAPI spec
- fm1-live emulator integration for headless testing
- Host-side cffi simulator for testing C net module with pytest
- Screenshot generator for shell documentation
- CI workflows for build, test and tagged releases
- Flash tools: USB-MIDI OTA, UBOOT mode, Pico Transporter
- fm1-dock prebuilt .dock instrument module hosting
**Commits**: https://github.com/DimmKirr/modd/commits/v0.0.1