#drone #micro-python #fileio

nightly no-std drone-micropython-core

MicroPython for Drone

2 releases

Uses old Rust 2015

0.1.1 Aug 27, 2018
0.1.0 Jun 20, 2018

#92 in #drone


Used in drone-micropython-stm32

MIT/Apache

7.5MB
151K SLoC

C 121K SLoC // 0.3% comments Python 27K SLoC // 0.1% comments GNU Style Assembly 2K SLoC // 0.2% comments Rust 577 SLoC Shell 303 SLoC // 0.2% comments Batch 211 SLoC Visual Studio Project 103 SLoC Forge Config 80 SLoC // 0.3% comments Bitbake 51 SLoC // 0.3% comments Pan 10 SLoC // 0.3% comments

drone-micropython-core

Documentation

Bindings to MicroPython for Drone.

Development

Check:

$ RUSTC_WRAPPER=./clippy-wrapper.sh cargo check \
  --target "i686-unknown-linux-musl" -p drone-micropython-raw
$ RUSTC_WRAPPER=./clippy-wrapper.sh cargo check --features "fileio" \
  --target "i686-unknown-linux-musl" -p drone-micropython-core
$ RUSTC_WRAPPER=./clippy-wrapper.sh xargo check \
  --target "thumbv7m-none-eabi" -p drone-micropython-stm32

Test:

$ RUSTC_WRAPPER=./rustc-wrapper.sh cargo test \
  --target "i686-unknown-linux-musl" -p drone-micropython-raw
$ RUSTC_WRAPPER=./rustc-wrapper.sh cargo test --features "fileio" \
  --target "i686-unknown-linux-musl" -p drone-micropython-core
$ RUSTC_WRAPPER=./rustc-wrapper.sh cargo drone test \
  -p drone-micropython-stm32

Readme update:

$ cargo readme -o README.md
$ cargo readme -r raw -t ../README.tpl -o README.md
$ cargo readme -r stm32 -t ../README.tpl -o README.md

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.

Dependencies

~5–8.5MB
~160K SLoC