forked from Imagelibrary/rtems
2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS_* for SERIAL_INPUT, HIF_INPUT, SERIAL_OUTPUT, HIF_OUTPUT. * console/console.c: Remove NO_BSP_INIT, SERIAL_INPUT, HIF_INPUT, SERIAL_OUTPUT, HIF_OUTPUT, add #include <bsp.h>.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* configure.ac: Add RTEMS_BSPOPTS_* for SERIAL_INPUT, HIF_INPUT,
|
||||||
|
SERIAL_OUTPUT, HIF_OUTPUT.
|
||||||
|
* console/console.c: Remove NO_BSP_INIT, SERIAL_INPUT, HIF_INPUT,
|
||||||
|
SERIAL_OUTPUT, HIF_OUTPUT, add #include <bsp.h>.
|
||||||
|
|
||||||
2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.
|
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.
|
||||||
|
|||||||
@@ -15,7 +15,21 @@ RTEMS_BSP_CONFIGURE
|
|||||||
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
||||||
RTEMS_CANONICALIZE_TOOLS
|
RTEMS_CANONICALIZE_TOOLS
|
||||||
|
|
||||||
|
/* only one of the "INPUT"-defines can be defined */
|
||||||
|
RTEMS_BSPOPTS_SET([SERIAL_INPUT],[*],[1])
|
||||||
|
RTEMS_BSPOPTS_HELP([SERIAL_INPUT],[use serial input])
|
||||||
|
|
||||||
|
RTEMS_BSPOPTS_SET([HIF_INPUT],[*],[])
|
||||||
|
RTEMS_BSPOPTS_HELP([HIF_INPUT],[use HIF input])
|
||||||
|
|
||||||
|
/* both of the following can be defined */
|
||||||
|
RTEMS_BSPOPTS_SET([SERIAL_OUTPUT],[*],[1])
|
||||||
|
RTEMS_BSPOPTS_HELP([SERIAL_OUTPUT],
|
||||||
|
[use serial console output])
|
||||||
|
|
||||||
|
RTEMS_BSPOPTS_SET([HIF_OUTPUT],[*],[])
|
||||||
|
RTEMS_BSPOPTS_HELP([HIF_OUTPUT],
|
||||||
|
[use HIF console output])
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
|
|||||||
@@ -11,22 +11,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NO_BSP_INIT
|
#include <bsp.h>
|
||||||
|
|
||||||
|
|
||||||
/* only one of the following can be defined */
|
|
||||||
#define SERIAL_INPUT /* use serial input */
|
|
||||||
/* #define HIF_INPUT */ /* use HIF input */
|
|
||||||
|
|
||||||
#if defined(SERIAL_INPUT) && defined(HIF_INPUT)
|
#if defined(SERIAL_INPUT) && defined(HIF_INPUT)
|
||||||
#error SERIAL_INPUT and HIF_INPUT cannot both be defined!!!
|
#error SERIAL_INPUT and HIF_INPUT cannot both be defined!!!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* both of the following can be defined */
|
|
||||||
#define SERIAL_OUTPUT /* remove to disable serial port console output */
|
|
||||||
/* #define HIF_OUTPUT */ /* remove to disable HIF console output */
|
|
||||||
|
|
||||||
#include <bsp.h>
|
|
||||||
#include <rtems/libio.h>
|
#include <rtems/libio.h>
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "concntl.h"
|
#include "concntl.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user