#nxp #embedded-hal #cortex-m #arm #ccc

no-std rad1o-firmware

Build firmware apps for the CCCamp2015 rad1o badge

1 unstable release

Uses old Rust 2015

0.0.0 Jun 12, 2018

#7 in #ccc

Apache-2.0

48KB
1K SLoC

Rust 1K SLoC // 0.0% comments Alex 153 SLoC

Write l0dable apps for the CCCamp 2015 rad1o badge.

Prerequisites

File .cargo/config

[target.thumbv7em-none-eabihf]
runner = "arm-none-eabi-gdb"
rustflags = [
  "-C", "link-arg=-Tl0dable.x",
  "-C", "linker=lld",
  "-Z", "linker-flavor=ld.lld",
]

[build]
target = "thumbv7em-none-eabihf"

Optional, but strongly recommended for code size:

[profile.release]
lto = true

Build script

cargo build --release
arm-none-eabi-objcopy -O binary --strip-unneeded target/thumbv7m-none-eabi/release/demo demo.c1d

Dependencies

~59MB
~1M SLoC