An open API service indexing awesome lists of open source software.

https://github.com/jacobrosenthal/dsp-discoveryf4-rust

https://www.amazon.com/Digital-Signal-Processing-Cortex-M-Microcontrollers/dp/1911531166
https://github.com/jacobrosenthal/dsp-discoveryf4-rust

Last synced: about 1 month ago
JSON representation

https://www.amazon.com/Digital-Signal-Processing-Cortex-M-Microcontrollers/dp/1911531166

Awesome Lists containing this project

README

        

# Digital Signal Processing using Arm Cortex-M based Microcontrollers

Translating the book from C to Rust. No relation to the author.

## Requires

* Rust 1.5.1
* `rustup target add thumbv7em-none-eabihf`
* STM32F407G-DISC1 board
* Possibly updated stlink firmware
* (linux) udev rules /etc/udev/rules.d/49-stinkv2-1.rules and a reboot

```bash
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374a", \
MODE:="0666", \
SYMLINK+="stlinkv2-1_%n"

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", \
MODE:="0666", \
SYMLINK+="stlinkv2-1_%n"
```

## GDB debugging

Requires:

* OpenOCD 0.11.0

For desperate cases, swap your runner in .cargo/config for the openocd configuration, start an open ocd server with `openocd -f interface/stlink-v2-1.cfg -f target/stm32f4x.cfg`, and `cargo run`.