rad1o-firmware 0.0.0

Build firmware apps for the CCCamp2015 rad1o badge
docs.rs failed to build rad1o-firmware-0.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

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"

Enable Link-Time Optimization in Cargo.toml

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