diff options
Diffstat (limited to 'fw/openocd.cfg')
-rw-r--r-- | fw/openocd.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fw/openocd.cfg b/fw/openocd.cfg new file mode 100644 index 0000000..4c52fdc --- /dev/null +++ b/fw/openocd.cfg @@ -0,0 +1,16 @@ +telnet_port 4444 +gdb_port 3333 + +source [find interface/stlink-v2.cfg] +#interface jlink +#interface stlink-v2 +#adapter_khz 10000 +#transport select swd + +#source /usr/share/openocd/scripts/target/stm32f0x.cfg +source [find target/stm32f0x_stlink.cfg] + +init +arm semihosting enable + +#flash bank sysflash.alias stm32f0x 0x00000000 0 0 0 $_TARGETNAME |