Crate r0ket_l0dable [−] [src]
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"
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.c0d
Modules
input |
Joystick |
lcd |
Display |
led |
Blinking LEDs |
nrf |
nRF24l01 radio communications |
power |
Power supply information |
rand |
|
startup |
l0dable startup |
table |
Calling firmware functions |
time |
Time functions |
Macros
entry |