openocd: add flash command

pull/4/head
occheung 2020-09-16 17:46:13 +08:00
parent 749da5a945
commit df510d18d1
2 changed files with 10 additions and 0 deletions

5
openocd/ethernet.cfg Normal file
View File

@ -0,0 +1,5 @@
init
reset init
halt
flash write_image erase target/thumbv7em-none-eabihf/debug/examples/ethernet
shutdown

5
openocd/fpga-config.cfg Normal file
View File

@ -0,0 +1,5 @@
init
reset init
halt
flash write_image erase target/thumbv7em-none-eabihf/debug/examples/fpga_config
shutdown