diff options
author | Perry Hung <iperry@gmail.com> | 2011-05-26 20:13:09 -0400 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2011-05-26 20:13:09 -0400 |
commit | d9f2a93159df96eef0d8084b96df7268533177ff (patch) | |
tree | 3428ea38e56d325fcb9c327d7f36f1474da4ae90 /support | |
parent | f8ac48e594f3f102543b8dc43c60b38b49cf8d6a (diff) | |
download | librambutan-d9f2a93159df96eef0d8084b96df7268533177ff.tar.gz librambutan-d9f2a93159df96eef0d8084b96df7268533177ff.zip |
openocd: Detect openocd version
Small script to detect the openocd version and choose the appropriate
debug/flash script for use with JTAG debugging.
Diffstat (limited to 'support')
-rw-r--r-- | support/make/build-rules.mk | 2 | ||||
-rw-r--r-- | support/openocd/debug_0.3.cfg (renamed from support/openocd/run.cfg) | 0 | ||||
-rw-r--r-- | support/openocd/debug_0.4.cfg (renamed from support/openocd/run_0.4.0.cfg) | 0 | ||||
-rw-r--r-- | support/openocd/flash_0.3.cfg (renamed from support/openocd/flash.cfg) | 0 | ||||
-rw-r--r-- | support/openocd/flash_0.4.cfg (renamed from support/openocd/flash_0.4.0.cfg) | 0 |
5 files changed, 1 insertions, 1 deletions
diff --git a/support/make/build-rules.mk b/support/make/build-rules.mk index 4dcf00f..330cdd8 100644 --- a/support/make/build-rules.mk +++ b/support/make/build-rules.mk @@ -9,7 +9,7 @@ DISAS := arm-none-eabi-objdump OBJDUMP := arm-none-eabi-objdump SIZE := arm-none-eabi-size DFU := dfu-util -OPENOCD := openocd +OPENOCD_WRAPPER := support/scripts/openocd-wrapper.sh # Suppress annoying output unless V is set ifndef V diff --git a/support/openocd/run.cfg b/support/openocd/debug_0.3.cfg index 87d33ae..87d33ae 100644 --- a/support/openocd/run.cfg +++ b/support/openocd/debug_0.3.cfg diff --git a/support/openocd/run_0.4.0.cfg b/support/openocd/debug_0.4.cfg index bbc8864..bbc8864 100644 --- a/support/openocd/run_0.4.0.cfg +++ b/support/openocd/debug_0.4.cfg diff --git a/support/openocd/flash.cfg b/support/openocd/flash_0.3.cfg index 41c6532..41c6532 100644 --- a/support/openocd/flash.cfg +++ b/support/openocd/flash_0.3.cfg diff --git a/support/openocd/flash_0.4.0.cfg b/support/openocd/flash_0.4.cfg index e66d28d..e66d28d 100644 --- a/support/openocd/flash_0.4.0.cfg +++ b/support/openocd/flash_0.4.cfg |