diff --git a/.gitignore b/.gitignore index c024ef6..ea8c4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /target -openocd.gdb diff --git a/Embed.toml b/Embed.toml new file mode 100644 index 0000000..8a34951 --- /dev/null +++ b/Embed.toml @@ -0,0 +1,3 @@ +[default.general] +chip = "STM32H743ZITx" +connect_under_reset = true diff --git a/README.md b/README.md index 4244484..7f0967b 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ See https://github.com/sinara-hw/Stabilizer * `cargo build --release` * 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 * Get a recent openocd, a JTAG adapter ("st-link" or some clone) and