From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- target/linux/at91/image/dfboot/src/com.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 target/linux/at91/image/dfboot/src/com.h (limited to 'target/linux/at91/image/dfboot/src/com.h') diff --git a/target/linux/at91/image/dfboot/src/com.h b/target/linux/at91/image/dfboot/src/com.h new file mode 100644 index 0000000..7af09e4 --- /dev/null +++ b/target/linux/at91/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 + -- cgit v1.2.3