Crates.io | drone-stm32-svd |
lib.rs | drone-stm32-svd |
version | 0.8.3 |
source | src |
created_at | 2018-04-30 14:43:18.361444 |
updated_at | 2018-08-27 09:10:13.461735 |
description | Drone for STM32 bindings generator. |
homepage | |
repository | https://github.com/drone-os/drone-stm32 |
max_upload_size | |
id | 63156 |
size | 24,058 |
Drone implementation for STM32 microcontrollers.
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.
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
Licensed under either of
at your option.
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.