diff options
author | Karl Palsson <karlp@tweak.net.au> | 2016-09-26 20:57:10 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2016-09-26 20:57:10 +0000 |
commit | 19d3225fd66573a2a62ece83158cd5551255f2ad (patch) | |
tree | 72a4d6c5007b95913f2133981b64c761a0605069 /openocd/openocd.common.cfg | |
parent | 418b3e1415e90aed9a652122ddde36ffc60991ab (diff) | |
download | olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.tar.gz olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.tar.bz2 olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.zip |
adc-power: update makefiles with work lying around
Diffstat (limited to 'openocd/openocd.common.cfg')
-rw-r--r-- | openocd/openocd.common.cfg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openocd/openocd.common.cfg b/openocd/openocd.common.cfg new file mode 100644 index 0000000..b601cde --- /dev/null +++ b/openocd/openocd.common.cfg @@ -0,0 +1,10 @@ +# Shared openocd script helpers + +# put things like "hla_serial 'asdfadfa'" in openocd.<board>.local.cfg to support +# multiple simultaneously connected boards. +proc optional_local { LOCAL_FILE } { + if { [ file exists $LOCAL_FILE ] } { + puts "Loading custom local settings from $LOCAL_FILE" + source $LOCAL_FILE + } +} |