summaryrefslogtreecommitdiff
path: root/openocd/openocd.common.cfg
blob: 188b4846554a1702b0afde25752489e23f35eaa2 (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 [find $LOCAL_FILE]
    }
}