summaryrefslogtreecommitdiff
path: root/ao-tools/ao-bitbang/ao-bitbang.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-08-18 12:19:31 -0700
committerKeith Packard <keithp@keithp.com>2009-08-18 14:39:15 -0700
commit9b03d620722dc54630539afba40720c30de69b2d (patch)
tree49450794239dfcfaab32190ccb7c81e2e71c2bbc /ao-tools/ao-bitbang/ao-bitbang.c
parent7c790fe859dff062692964338091ffbbcdf63257 (diff)
Use --tty/-T on command line to specify target device
Also, use the ALTOS_TTY environment variable in all tools. Note that the magic value of "BITBANG" switches the library to connecting through a CP2103 instead. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-bitbang/ao-bitbang.c')
-rw-r--r--ao-tools/ao-bitbang/ao-bitbang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/ao-bitbang/ao-bitbang.c b/ao-tools/ao-bitbang/ao-bitbang.c
index 7090c9a3..e8dff6bf 100644
--- a/ao-tools/ao-bitbang/ao-bitbang.c
+++ b/ao-tools/ao-bitbang/ao-bitbang.c
@@ -23,7 +23,7 @@ main (int argc, char **argv)
{
struct ccdbg *dbg;
- dbg = ccdbg_open();
+ dbg = ccdbg_open("BITBANG");
if (!dbg)
exit (1);