forked from Imagelibrary/rtems
2006-02-01 Joel Sherrill <joel@OARcorp.com>
* configure.ac, console/console.c: Add USE_COM1_AS_CONSOLE BSP option. This makes it easy to build the pc386 BSP in a configuration that corresponds to qemu with COM1 redirected to stdio.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2006-02-01 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* configure.ac, console/console.c: Add USE_COM1_AS_CONSOLE BSP option.
|
||||||
|
This makes it easy to build the pc386 BSP in a configuration that
|
||||||
|
corresponds to qemu with COM1 redirected to stdio.
|
||||||
|
|
||||||
2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove explicit ampolish3 support (now in
|
* configure.ac: Remove explicit ampolish3 support (now in
|
||||||
|
|||||||
@@ -18,6 +18,12 @@ RTEMS_PROG_CCAS
|
|||||||
|
|
||||||
RTEMS_CHECK_NETWORKING
|
RTEMS_CHECK_NETWORKING
|
||||||
|
|
||||||
|
RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0])
|
||||||
|
RTEMS_BSPOPTS_HELP([USE_COM1_AS_CONSOLE],
|
||||||
|
[Determines, whether the console will be associated with the standard
|
||||||
|
VGA display or with the COM1 serial port. Currently only the VGA
|
||||||
|
display and COM1 support printk.])
|
||||||
|
|
||||||
RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
|
RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1])
|
||||||
RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE],
|
RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE],
|
||||||
[Determines, whether RTEMS will try to use the primary IDE interface.
|
[Determines, whether RTEMS will try to use the primary IDE interface.
|
||||||
|
|||||||
@@ -61,10 +61,14 @@ void __assert (const char *file, int line, const char *msg);
|
|||||||
* to same serial device it does not work that great
|
* to same serial device it does not work that great
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if (USE_COM1_AS_CONSOLE == 1)
|
||||||
|
int BSPConsolePort = BSP_UART_COM1;
|
||||||
|
int BSPPrintkPort = BSP_UART_COM1;
|
||||||
|
#else
|
||||||
int BSPConsolePort = BSP_CONSOLE_PORT_CONSOLE;
|
int BSPConsolePort = BSP_CONSOLE_PORT_CONSOLE;
|
||||||
int BSPPrintkPort = BSP_CONSOLE_PORT_CONSOLE;
|
int BSPPrintkPort = BSP_CONSOLE_PORT_CONSOLE;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* int BSPConsolePort = BSP_UART_COM2; */
|
|
||||||
int BSPBaseBaud = 115200;
|
int BSPBaseBaud = 115200;
|
||||||
|
|
||||||
extern BSP_polling_getchar_function_type BSP_poll_char;
|
extern BSP_polling_getchar_function_type BSP_poll_char;
|
||||||
|
|||||||
Reference in New Issue
Block a user