2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>

* configure.ac, console/conscfg.c: Add CONSOLE_USE_INTERRUPTS.
This commit is contained in:
Joel Sherrill
2009-08-28 18:20:12 +00:00
parent 9610896132
commit fd3cd3e3e3
3 changed files with 35 additions and 20 deletions

View File

@@ -1,3 +1,7 @@
2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, console/conscfg.c: Add CONSOLE_USE_INTERRUPTS.
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -15,6 +15,16 @@ RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
RTEMS_CANONICALIZE_TOOLS
RTEMS_PROG_CCAS
## 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_BSP_BOOTCARD_OPTIONS
RTEMS_BSP_CLEANUP_OPTIONS(0, 0)

View File

@@ -12,6 +12,7 @@
*/
#include <bsp.h>
#include <bspopts.h>
#include <libchip/serial.h>
#include <libchip/mc68681.h>
@@ -46,7 +47,7 @@ console_tbl Console_Port_Tbl[] = {
NULL, /* pDeviceFlow */
16, /* ulMargin */
8, /* ulHysteresis */
(void *)9600, /* baud rate */ /* pDeviceParams */
(void *)9600, /* pDeviceParams */
MC68681_BASE_ADDRESS, /* ulCtrlPort1 */
MC68681_BASE_ADDRESS, /* ulCtrlPort2 */
MC68681_DATA_ADDRESS, /* ulDataPort */