diff options
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/bash -openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg \ - -c "init; reset halt; flash write_image erase main.hex; reset run; exit" +#openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg \ +# -c "init; reset halt; flash write_image erase main.hex; reset run; exit" -#openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg > /dev/null & -#gdb-multiarch +openocd -f /usr/share/openocd/scripts/board/st_nucleo_l476rg.cfg > /dev/null & +gdb-multiarch -iex "target remote localhost:3333" out/main.elf |