Merge pull request #256 from vertigo-designs/feature/cargo-embed-support
Adding support for cargo-embed
This commit is contained in:
commit
70f6d4e1c4
|
@ -1,2 +1 @@
|
||||||
/target
|
/target
|
||||||
openocd.gdb
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[default.general]
|
||||||
|
chip = "STM32H743ZITx"
|
||||||
|
connect_under_reset = true
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue