Ignore:
Timestamp:
Feb 1, 2006, 8:57:35 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6952f3d
Parents:
104c492
Message:

2006-02-01 Joel Sherrill <joel@…>

  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/console/console.c

    r104c492 r36ffcf3  
    6262 */
    6363
     64#if (USE_COM1_AS_CONSOLE == 1)
     65int BSPConsolePort = BSP_UART_COM1;
     66int BSPPrintkPort  = BSP_UART_COM1;
     67#else
    6468int BSPConsolePort = BSP_CONSOLE_PORT_CONSOLE;
    6569int BSPPrintkPort  = BSP_CONSOLE_PORT_CONSOLE;
    66 
    67 /* int BSPConsolePort = BSP_UART_COM2;  */
     70#endif
     71
    6872int BSPBaseBaud    = 115200;
    6973
Note: See TracChangeset for help on using the changeset viewer.