diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-12-22 13:04:01 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-12-22 13:04:01 +0100 |
commit | 6a5f460c6b1397b9175f532532ee80e44e07dcf5 (patch) | |
tree | 9dc0c8466045841b8834f5764c4f33468978c22a /firmware/drivers/cli.h | |
parent | 075faa4e2521b0d90df564516dfc618506cca8e9 (diff) |
Expanded the cli functions and added test program for it.
Diffstat (limited to 'firmware/drivers/cli.h')
-rw-r--r-- | firmware/drivers/cli.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/drivers/cli.h b/firmware/drivers/cli.h index ecc373b..2605715 100644 --- a/firmware/drivers/cli.h +++ b/firmware/drivers/cli.h @@ -28,6 +28,12 @@ #define __PEDAL2METAL_CLI_H__ void cli_init(); -int cli_write(const char *fmt, ...); + +void cli_write(const char *buffer, unsigned int size); +int cli_read(char *buffer, unsigned int size); + +int cli_printf(const char *fmt, ...); + +int cli_readline(char *buf, unsigned int maxsize); #endif/*__PEDAL2METAL_CLI_H__*/ |