Change formatting according to rustfmt
2 files changed
tree: 3c79fc1e32e0961bb99a49270bf4435d2fb63682
  1. .cargo/
  2. .vscode/
  3. examples/
  4. src/
  5. .gitignore
  6. .gitmodules
  7. .travis.yml
  8. build_examples.sh
  9. Cargo.toml
  10. layout.ld
  11. LICENSE-APACHE
  12. LICENSE-MIT
  13. README.md
  14. run_example.sh
  15. run_hardware_test.sh
  16. run_ipc_example.sh
  17. rust-toolchain
  18. rustfmt.toml
  19. thumbv7em-tock-eabi.json
  20. Xargo.toml
README.md

Build Status

libtock-rs

Rust userland library for Tock (WIP)

Getting Started

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

  1. Ensure you have rustup installed.

  2. Use the run_example script to compile and run the example app you want to use:

    ./run_example.sh blink
    

    This should work if you are using the nRF52DK platform. For other platforms, you will end up with a TAB file in target/ that you can program onto your Tock board.

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.