diff options
| author | Hamish Guthrie <hcg@openwrt.org> | 2007-06-04 17:41:40 +0000 |
|---|---|---|
| committer | Hamish Guthrie <hcg@openwrt.org> | 2007-06-04 17:41:40 +0000 |
| commit | 3266668caee8a99d497c907caccc7657e2c4b148 (patch) | |
| tree | 8cb26bddd0367fcb1c5ed000d3995d312b9c9d39 /target/linux/at91-2.6/image/dfboot/src/com.h | |
| parent | e970f61273c7b92cb81ecfc1890cdbbf74fe9c86 (diff) | |
| download | mtk-20170518-3266668caee8a99d497c907caccc7657e2c4b148.zip mtk-20170518-3266668caee8a99d497c907caccc7657e2c4b148.tar.gz mtk-20170518-3266668caee8a99d497c907caccc7657e2c4b148.tar.bz2 | |
add new dfboot loader - a complete revison of romboot code.
SVN-Revision: 7492
Diffstat (limited to 'target/linux/at91-2.6/image/dfboot/src/com.h')
| -rw-r--r-- | target/linux/at91-2.6/image/dfboot/src/com.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/image/dfboot/src/com.h b/target/linux/at91-2.6/image/dfboot/src/com.h new file mode 100644 index 0000000..7af09e4 --- /dev/null +++ b/target/linux/at91-2.6/image/dfboot/src/com.h @@ -0,0 +1,28 @@ +/*---------------------------------------------------------------------------- + * ATMEL Microcontroller Software Support - ROUSSET - + *---------------------------------------------------------------------------- + * The software is delivered "AS IS" without warranty or condition of any + * kind, either express, implied or statutory. This includes without + * limitation any warranty or condition with respect to merchantability or + * fitness for any particular purpose, or against the infringements of + * intellectual property rights of others. + *---------------------------------------------------------------------------- + * File Name : com.h + * Object : + * + * 1.0 27/03/03 HIi : Creation + *---------------------------------------------------------------------------- + */ +#ifndef com_h +#define com_h + +#define AT91C_CB_SIZE 20 /* size of the console buffer */ + +/* Escape sequences */ +#define ESC \033 + +extern int AT91F_ReadLine (const char *const prompt, char *console_buffer); +extern void AT91F_WaitKeyPressed(void); + +#endif + |
