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
- Host: GitHub
- URL: https://github.com/jacobrosenthal/dsp-discoveryf4-rust
- Owner: jacobrosenthal
- Created: 2020-06-14T04:43:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T02:50:00.000Z (over 3 years ago)
- Last Synced: 2024-04-14T10:20:21.850Z (about 1 year ago)
- Language: Rust
- Size: 2.83 MB
- Stars: 26
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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`.