4 releases

Uses old Rust 2015

0.8.3 Aug 27, 2018
0.8.2 Jun 20, 2018
0.8.1 Jun 11, 2018
0.8.0 Apr 30, 2018

#40 in #cortex

Download history 15/week @ 2023-10-18 25/week @ 2023-10-25 12/week @ 2023-11-01 22/week @ 2023-11-08 18/week @ 2023-11-15 19/week @ 2023-11-22 27/week @ 2023-11-29 10/week @ 2023-12-06 16/week @ 2023-12-13 17/week @ 2023-12-20 14/week @ 2023-12-27 11/week @ 2024-01-03 14/week @ 2024-01-10 12/week @ 2024-01-17 17/week @ 2024-01-24 17/week @ 2024-01-31

60 downloads per month
Used in 4 crates (via drone-stm32)

MIT/Apache

19KB
525 lines

drone-stm32

Documentation

Drone implementation for STM32 microcontrollers.

Installation

Instructions will be given for Debian-based Linux systems.

Install the following packages:

$ sudo apt-get install build-essential cmake libusb-1.0-0 libusb-1.0-0-dev \
  pandoc gcc-arm-none-eabi gdb-arm-none-eabi qemu-system-arm qemu-user

Copy udev rules for ST-Link programmer to the /etc/udev/rules.d/, and run the following commands:

$ sudo udevadm control --reload-rules
$ sudo udevadm trigger

OpenOCD is required. It is recommended to install it from the source, because repository package is outdated and doesn't contain configuration for newer chips and boards.

Development

Check:

$ RUSTC_WRAPPER=./clippy-wrapper.sh cargo check --all --exclude drone-stm32
$ RUSTC_WRAPPER=./clippy-wrapper.sh xargo check \
  --target "thumbv7m-none-eabi" -p drone-stm32

Test:

$ RUSTC_WRAPPER=./rustc-wrapper.sh cargo test --all --exclude drone-stm32
$ RUSTC_WRAPPER=./rustc-wrapper.sh cargo drone test -p drone-stm32

Readme update:

$ cargo readme -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

~5MB
~101K SLoC