summaryrefslogtreecommitdiff
path: root/tcl/board/ek-lm3s1968.cfg
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-18 05:19:34 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-18 15:51:07 -0800
commitbd5a1799ea63c2a863eae4aca2b55e41373d7528 (patch)
tree4334d94e264076dbf8830ee4afd859cd0e240938 /tcl/board/ek-lm3s1968.cfg
parentbd9d05e14bd08352811561e2d59a7ef2d9f3ed25 (diff)
downloadopenocd_libswd-bd5a1799ea63c2a863eae4aca2b55e41373d7528.tar.gz
openocd_libswd-bd5a1799ea63c2a863eae4aca2b55e41373d7528.tar.bz2
openocd_libswd-bd5a1799ea63c2a863eae4aca2b55e41373d7528.tar.xz
openocd_libswd-bd5a1799ea63c2a863eae4aca2b55e41373d7528.zip
add COMMAND_PARSE_BOOL macro and friends
Adds several macros similar to COMMAND_PARSE_NUMBER, but for parsing boolean command arguments. Two flavors are provided to provide drop-in compatibility with existing code, allow for the elimination of a lot of code bloat while improving the error checking and reporting. COMMAND_PARSE_ON_OFF parses "on"/"off" command parameters. COMMAND_PARSE_ENABLE parses "enable"/"disable" command parameters. Both print the error and return an error out of the calling function.
Diffstat (limited to 'tcl/board/ek-lm3s1968.cfg')
0 files changed, 0 insertions, 0 deletions