Crate drone_cortex_m [−] [src]
Drone implementation for ARM Cortex-M 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.
Reexports
pub use vtable::vtable; |
Modules
itm |
Instrumentation Trace Macrocell support. |
mcu |
A module for working with MCU. |
panicking |
Panicking support. |
reg |
Memory-mapped registers support. |
vtable |
The vector table of support. |
Macros
iprint |
Macro for printing through ITM. |
iprintln |
Macro for printing through ITM, with a newline. |
vtable |
Configure a vector table. |