diff --git a/.gitignore b/.gitignore index cf36f42..f0d260f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,3 @@ **/*.orig **/*.rs.bk Cargo.lock - -openocd.cfg -openocd.gdb diff --git a/openocd.cfg b/openocd.cfg new file mode 100644 index 0000000..3b349ac --- /dev/null +++ b/openocd.cfg @@ -0,0 +1,7 @@ +source [find interface/stlink-v2-1.cfg] +transport select hla_swd +source [find target/stm32f7x.cfg] + +init +arm semihosting enable +reset diff --git a/openocd.gdb b/openocd.gdb new file mode 100644 index 0000000..551d9c6 --- /dev/null +++ b/openocd.gdb @@ -0,0 +1,3 @@ +target remote :3333 +load +continue