Run Rust on the rad1o embedded hardware from Chaos Communication Camp 2015
Rust
Latest commit 9396468 Dec 23, 2016 @astro add input support
Permalink
Failed to load latest commit information.
.cargo LED is blinking \o/ Dec 20, 2016
ld LED is blinking \o/ Dec 20, 2016
rad1o add input support Dec 22, 2016
src/logo add input support Dec 22, 2016
.gitignore progress: led + display Dec 20, 2016
Cargo.toml reorganize repo, split out lpc43xx crate Dec 22, 2016
README.md README: TODO Dec 22, 2016

README.md

Generate HW interface code from SVD

HW: NXP LPC4330 https://rad1o.badge.events.ccc.de/more_hardware

Download from https://www.lpcware.com/content/nxpfile/lpc43sxx-svd-file

svd2rust -i LPC43xx_43Sxx.svd gpio > src/peripheral/gpio.rs
rustfmt src/peripheral/gpio.rs

Building

xargo build --target thumbv7em-none-eabihf -v
arm-linux-gnueabihf-objcopy --strip-unneeded -O binary target/thumbv7em-none-eabihf/debug/rad1o-rust target/thumbv7em-none-eabihf/debug/rad1o-rust.c1d

Inspect build

arm-linux-gnueabihf-objdump -SD target/thumbv7em-none-eabihf/debug/rad1o-rust | less

TODO

  • split into reusable crates: lpc43xx, rad1o, bins
  • app.b1n?
  • Target m0 processor

Drivers

  • Input
  • Audio
  • USB
  • Flash + fatfs
  • Xilinx CPLD?
  • SDR: MAX2837?
  • contrib to cortex-m:
    • Timers
    • MPU