Repository navigation
Deluge SDK v0.1.0
Warning
This release's app-loader.bin does not boot on a Deluge with the stock bootloader (it data-aborts at every power-on). Use v0.1.1 instead.
The first developer preview of the Deluge SDK. The API is not stable yet: until 1.0, a minor
release may contain breaking changes.
The RZ/A1 chip crates and deluge-embedded-fatfs are released as 0.2.0, and
deluge-block-device-adapters as 0.3.0: earlier versions briefly published under those names
had a different API and were yanked.
Added
- The SDK (
deluge-sdk, imported asdeluge): write apps for the OLED Deluge in async Rust.
#[deluge::app]brings up heaps, clocks, interrupts, the Embassy executor and a panic handler;
theDelugecapability handle gives each peripheral to one owner: OLED, pads, buttons,
encoders, LEDs, stereo audio, CV/gate, clock in/out, DIN MIDI, jack detection, the SD card
(async FAT, streaming files with seek) and the SYNC LED. Optional features routelogto RTT
or a USB serial port, register the SRAM heap, drive audio from the DMA interrupt, and select
the simulator or Linux backend. cargo deluge:new,build,run(upload over USB and launch from RAM),deploy(copy
to the SD card's/APPS/),log,sim,linux,debugandtrace.- The app-loader: a second-stage bootloader with a boot menu, USB dev-mode upload, SD
/APPS/loading, storing an app to flash, and a recovery boot. Optional bootloader write
protection (flash-protect, off by default) locks the bootloader region at app hand-off. - Board support (
deluge-bsp): the PIC front panel, SSD1309 OLED, codec and SSI audio, the
MAX5136 CV DAC (max5136), SD card (with High-Speed mode where the card supports it), SPI
flash identification and write protection, the SRAM and SDRAM heaps, USB device classes, and
USB host with hubs. - USB (
deluge-usb-classes, imported asusb_classes): UAC2 audio, USB-MIDI (including raw packet mode), mass storage
(Bulk-Only Transport) device classes; host-side USB-MIDI and UAC2 audio; and
Elektron Overbridge 2 host and device classes. - RZ/A1 chip crates (
rza1-pac,rza1-rt,rza1-rt-macros,rza1-hal): a peripheral
access crate generated from the vendor SVD for the RZ/A1L and RZ/A1H, a runtime with
#[entry],#[irq]and#[fault], and an Embassy HAL including the SD card protocol. They
form their own workspace underrza1/with no dependency on anydeluge-*crate. - Async FAT (
deluge-embedded-fatfs,deluge-block-device-adapters): forks of MabezDev's
embedded-fatfsandblock-device-adapterswith upstream fixes applied. - DSP and UI libraries:
deluge-fixedpointandarm-dsp(MIT OR Apache-2.0);
deluge-ui-toolkit,deluge-grid-toolkitanddeluge-fonts(GPL-3.0-or-later, in the
repository but not published to crates.io yet). - A desktop simulator (
deluge-simulator, run bycargo deluge sim) with an on-screen front
panel, audio, MIDI and SD bridges, and headless golden-frame testing, plus a browser front panel
(tools/deluge-web-sim).deluge-panel-protocolis the front-panel wire protocol shared by
the simulator, the controller firmware and an external brain. - A native Linux backend for apps that run on the Deluge's Linux userland:
libdeluge-sys
andlibdeluge, bindings to its hardware library. - A from-scratch boot chain, in development:
stage0, an execute-in-place first stage that
validates and enters a CRC-checked boot slot, andmkslot, the host tool that builds slot
images. For development units only. - Examples under
examples/covering every capability, and hardware validation firmwares
underhw-tests/.