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

no-std r0ket-l0dable

Build l0dable apps for the CCCamp2011 r0ket badge

2 unstable releases

Uses old Rust 2015

0.1.0 May 27, 2018
0.0.0 May 22, 2018

#5 in #ccc

Apache-2.0

6.5MB
476 lines

Contains (ELF exe/lib, 6.5MB) src/table, (ELF exe/lib, 6.5MB) build

Write l0dable apps for the CCCamp 2011 r0ket badge.

Prerequisites

File .cargo/config

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

[build]
target = "thumbv7m-none-eabi"

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.c0d

Dependencies

~4MB
~92K SLoC