Hello world! :-)

Is it possible to define a procedure in my openocd.cfg file and then
call this procedure when invoking openocd? In the documentation I have
found how to define a procedure, but did not find information how to
call it :-) Specifically when I call this procedure from within a file
where it is defined it works fine, but I did not find a way to run it
by passing some argument (-c ?) to the openocd executable...
What I am trying to do is a simple openocd.cfg file that will contain
all procedures for flashing, erasing and debugging my target and so I
can simply call "openocd -c erasemem" from a Makefile.

Please advise,
Tomek

-- 
CeDeROM, http://www.tomek.cedro.info
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to