]> git.sur5r.net Git - openocd/commit
config: add init_targets proc that is executed just before init
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 19 Dec 2010 10:24:51 +0000 (11:24 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 22 Dec 2010 16:44:22 +0000 (17:44 +0100)
commite03f45f6996ca9b646c228cad8431dea73054818
tree19eab3d6686b89b168915c8412ae3835b67d3612
parent37f4978f95a989d6bfcaf9aff354ee23a0855b92
config: add init_targets proc that is executed just before init

this allows configuration scripts to export a init_targets proc
rather than setting up the target directly.

This allows for new conventions in how to set up target vs. board
script and how to transfer default settings between board and
target scripts.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/openocd.c
src/target/startup.tcl