summaryrefslogtreecommitdiff
path: root/openocd/openocd.common.cfg
blob: b601cde24ab14704c1012777bc1ad9ad46f31dc8 (plain)
1
2
3
4
5
6
7
8
9
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
    }
}