summaryrefslogtreecommitdiff
path: root/src/ao_cmd.c
Commit message (Collapse)AuthorAge
* altos: Restructure altos build to prepare for multi-arch supportKeith Packard2011-08-25
| | | | | | | | | | | | | | Split out sources into separate directories: core: architecture and product independent bits cc1111: cc1111-specific code drivers: architecture independent drivers product: product-specific sources and Makefile fragments util: scripts for building stuff This should have no effect on the built products, but testing is encouraged Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/altosui: Report log format in the version commandKeith Packard2011-08-13
| | | | | | | | This will make it easier to figure out what the contents of the flash should look like from altosui; the current 'guessing' mechanism will not scale to many more formats. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: switch ao_cmd __xdata to __pdataKeith Packard2011-07-06
| | | | | | Saves code space Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_cmd_put16, ao_cmd_hex and ao_cmdKeith Packard2011-07-06
| | | | | | No functional changes, just reduces code size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink help textKeith Packard2011-07-04
| | | | | | Reduce const space taken by command help text. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate ao_cmd_filter hookKeith Packard2011-04-19
| | | | | | | Disabling status messages means we don't need to filter them out of the input stream. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make cmd echo per-connection instead of globalKeith Packard2011-04-01
| | | | | | | Allow different connections to use different echo values, permitting the packet link to turn off echo while the USB link still has it on. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Provide for a pre-filter on commandsKeith Packard2011-04-01
| | | | | | | This allows for external code to see each command line before it is processed and potentially skip it. Signed-off-by: Keith Packard <keithp@keithp.com>
* src/ao_cmd: Shave off bytes from doc stringsAnthony Towns2011-03-07
| | | | | | Switch to using { func, "X args\0Desc" } to specify command, saving a char field by looking at help[0] instead, and reduce help length by doing alignment with printf instead of hardcoded spaces.
* altos: prepare for sdcc 2.9.1Keith Packard2010-08-27
| | | | | | | A few minor language changes -- non-standard keywords are now prefixed with __, such as 'at', 'interrupt', 'naked'. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use ao_delay to sleep for 2 seconds instead of trying ao_sleepKeith Packard2010-05-05
| | | | | ao_sleep doesn't delay for a specified time interval as much as one might want it to.
* Make ao_cmd_decimal produce both 32 and 16 bit values.Keith Packard2009-12-04
| | | | | | | ao_cmd_lex_u32 is produced in addition to ao_cmd_lex_i so that functions can easily read 32-bit values from the command line. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add reboot command.Keith Packard2009-11-05
| | | | | | This resets the processor using the watchdog timer. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move ao_match_word from ao_ignite.c to ao_cmd.cKeith Packard2009-11-05
| | | | | | This is a generally useful command line utility. Signed-off-by: Keith Packard <keithp@keithp.com>
* Remove "d" commandKeith Packard2009-11-02
|
* Use autotools, move altos to src subdirKeith Packard2009-06-04
Signed-off-by: Keith Packard <keithp@keithp.com>