diff options
| author | Keith Packard <keithp@keithp.com> | 2009-09-04 15:30:22 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-09-04 15:30:22 -0700 |
| commit | 73adae3661160d410dcc802873b530d255c210e5 (patch) | |
| tree | 2fdecad2b9b36f2d991a88afced068b2b8395780 /ao-tools/ao-dbg/ao-dbg.h | |
| parent | 332b056459b1352e233a8bf5f08498df12d32160 (diff) | |
Add --device/-D support to the command line tools and manuals
Use the new cc_usbdevs_find_by_arg function to locate suitable target
devices connected via USB.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-dbg/ao-dbg.h')
| -rw-r--r-- | ao-tools/ao-dbg/ao-dbg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ao-tools/ao-dbg/ao-dbg.h b/ao-tools/ao-dbg/ao-dbg.h index c1789d10..edc650a5 100644 --- a/ao-tools/ao-dbg/ao-dbg.h +++ b/ao-tools/ao-dbg/ao-dbg.h @@ -17,12 +17,14 @@ */ #include <ccdbg.h> +#include <cc.h> extern char *s51_prompt; extern struct ccdbg *s51_dbg; extern int s51_interrupted; extern int s51_monitor; extern char *s51_tty; +extern char *s51_device; enum command_result { command_success, command_debug, command_syntax, command_interrupt, command_error, |
