2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS).
	Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE).
	Remove RTEMS_OUTPUT_BUILD_SUBDIRS.
	* include/bsp.h: include bspopts.h.
This commit is contained in:
Joel Sherrill
2001-12-18 14:10:54 +00:00
parent 90bc056823
commit ac43f07025
6 changed files with 46 additions and 8 deletions

View File

@@ -1,3 +1,10 @@
2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS).
Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE).
Remove RTEMS_OUTPUT_BUILD_SUBDIRS.
* include/bsp.h: include bspopts.h.
2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.

View File

@@ -22,11 +22,20 @@ AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
RTEMS_CONFIG_BUILD_SUBDIRS(tools)
## bsp-specific options
CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0}
AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS],
[$CONSOLE_USE_INTERRUPTS],
[whether using console interrupts])
RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
[The erc32 console driver can operate in either polled or interrupt mode.
Under the simulator (especially when FAST_UART is defined), polled seems to operate
better. It is common for a task to print a line (like the end of test message) and
then exit. In this case, the program returns control to the simulator command line
before the program has even queued the output to the uart. Thus sis has no chance
of getting the data out.])
RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[])
RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE],
[If defined, speed up the clock ticks while the idle task is running so
time spent in the idle task is minimized. This significantly reduces
the wall time required to execute the RTEMS test suites.])
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
@@ -40,5 +49,3 @@ startup/Makefile
timer/Makefile
wrapup/Makefile])
AC_OUTPUT
RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)

View File

@@ -26,6 +26,8 @@
extern "C" {
#endif
#include <bspopts.h>
#include <rtems.h>
#include <iosupp.h>
#include <erc32.h>

View File

@@ -1,3 +1,10 @@
2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS).
Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE).
Remove RTEMS_OUTPUT_BUILD_SUBDIRS.
* include/bsp.h: include bspopts.h.
2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.

View File

@@ -21,6 +21,21 @@ RTEMS_CHECK_NETWORKING
RTEMS_CONFIG_BUILD_SUBDIRS(tools)
## bsp-specific options
RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
[The erc32 console driver can operate in either polled or interrupt mode.
Under the simulator (especially when FAST_UART is defined), polled seems to operate
better. It is common for a task to print a line (like the end of test message) and
then exit. In this case, the program returns control to the simulator command line
before the program has even queued the output to the uart. Thus sis has no chance
of getting the data out.])
RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[])
RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE],
[If defined, speed up the clock ticks while the idle task is running so
time spent in the idle task is minimized. This significantly reduces
the wall time required to execute the RTEMS test suites.])
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
@@ -33,5 +48,3 @@ startup/Makefile
timer/Makefile
wrapup/Makefile])
AC_OUTPUT
RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)

View File

@@ -27,6 +27,8 @@
extern "C" {
#endif
#include <bspopts.h>
#include <rtems.h>
#include <iosupp.h>
#include <leon.h>