1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
//! Write **l0dable** apps for the [CCCamp 2011](https://events.ccc.de/camp/2011/) [r0ket badge](https://github.com/r0ket/r0ket). //! //! ## Prerequisites //! //! ### File `.cargo/config` //! //! ```toml //! [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: //! //! ```toml //! [profile.release] //! lto = true //! ``` //! ### Build script //! //! ```shell //! cargo build --release //! arm-none-eabi-objcopy -O binary --strip-unneeded target/thumbv7m-none-eabi/release/demo demo.c0d //! ``` #![no_std] extern crate lpc13xx as target; extern crate r0; extern crate embedded_hal as hal; pub mod startup; pub mod table; pub mod lcd; pub mod input; pub mod led; pub mod time; pub mod rand; pub mod power;