Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/birkenfeld/stm_button_rust


https://github.com/birkenfeld/stm_button_rust

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

## Make sound with STM32L0

### Build

Using nightly Rust and cargo, just do a `cargo build --release`.

### Flash

The default method uses openocd and GDB. Start openocd using a config
matching your programming adapter (the provided `openocd.cfg` assumes
ST-Link v2). Then `cargo run --release` runs GDB, flashes and runs the
image. `openocd` should just keep running in the background.

An alternate way is to use the `st-flash` utility. To use this from
`cargo run --release`, change the runner in `.cargo/config`.