Adding support for cargo-embed

This commit is contained in:
Ryan Summers 2021-02-02 17:33:58 +01:00
parent 14abaad7de
commit e767072089

View File

@ -40,6 +40,11 @@ See https://github.com/sinara-hw/Stabilizer
* `cargo build --release` * `cargo build --release`
* Do not try the debug (default) mode. It is guaranteed to panic. * Do not try the debug (default) mode. It is guaranteed to panic.
### Using Cargo-embed
* Install `cargo-embed`: `cargo install cargo-embed`
* Program the device: `cargo embed --bin dual-iir --release`
### Using GDB/OpenOCD ### Using GDB/OpenOCD
* Get a recent openocd, a JTAG adapter ("st-link" or some clone) and * Get a recent openocd, a JTAG adapter ("st-link" or some clone) and