Format hex numbers and dump memory information on startup
2 files changed
tree: b088d6af981635238a37dee44ee81bdd76ff13f6
  1. .cargo/
  2. examples/
  3. src/
  4. tools/
  5. .gitignore
  6. Cargo.toml
  7. Cross.toml
  8. layout.ld
  9. LICENSE-APACHE
  10. LICENSE-MIT
  11. README.md
  12. run_example.sh
  13. rustfmt.toml
  14. thumbv7em-tock-eabi.json
  15. Xargo.toml
README.md

libtock-rs

Rust userland library for Tock (WIP)

Getting Started

This project is nascent and still under heavy development, but first steps:

  1. First, update rustup to ensure you have the latest toolchain available:

    rustup update

    or

    rustup install nightly

  2. Get a copy of the latest nightly, in this repo's root:

    rustup override set nightly

    Your rustc should be at least this new:

    $ rustc --version
    rustc 1.21.0-nightly (7ac979d8c 2017-08-16)
    
  3. Need to grab a copy of the rust sources:

    rustup component add rust-src

  4. Now you should be able to build with:

    xargo build --target thumbv7em-tock-eabi

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.