summaryrefslogtreecommitdiff
path: root/src/tcl
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-04 16:59:35 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-04 16:59:35 +0000
commitb99b73a36860d02c621ab449e1c341133f42d1fb (patch)
treeeb8f652621ca117ba3b29da76e0d75f45bac450a /src/tcl
parente9488b9ad8a274465bcd11fa482ef3846f066632 (diff)
downloadopenocd_libswd-b99b73a36860d02c621ab449e1c341133f42d1fb.tar.gz
openocd_libswd-b99b73a36860d02c621ab449e1c341133f42d1fb.tar.bz2
openocd_libswd-b99b73a36860d02c621ab449e1c341133f42d1fb.tar.xz
openocd_libswd-b99b73a36860d02c621ab449e1c341133f42d1fb.zip
- fixed line endings with commands.tcl
- added svn props for newly added files git-svn-id: svn://svn.berlios.de/openocd/trunk@749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/tcl')
-rw-r--r--src/tcl/commands.tcl32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/tcl/commands.tcl b/src/tcl/commands.tcl
index 81f7b6f1..7d90f36c 100644
--- a/src/tcl/commands.tcl
+++ b/src/tcl/commands.tcl
@@ -1,18 +1,18 @@
-# implements Tcl procedures/functions
-proc peek {address} {
+# implements Tcl procedures/functions
+proc peek {address} {
return [openocd_throw "mdw $address"]
-}
-
-# Production command
-# FIX!!! need to figure out how to feed back relevant output
-# from e.g. "flash banks" command...
-proc board_produce {filename serialnumber} {
- openocd "reset init"
- openocd "flash write_image erase $filename [flash] bin"]]
- openocd "verify_image $filename [flash] bin"]]
- echo "Successfully ran production procedure"
-}
-
-proc board_test {} {
+}
+
+# Production command
+# FIX!!! need to figure out how to feed back relevant output
+# from e.g. "flash banks" command...
+proc board_produce {filename serialnumber} {
+ openocd "reset init"
+ openocd "flash write_image erase $filename [flash] bin"]]
+ openocd "verify_image $filename [flash] bin"]]
+ echo "Successfully ran production procedure"
+}
+
+proc board_test {} {
echo "Production test not implemented"
-}
+}