[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Activate bsp_console_port_console on bsp_uart_com1



Thanks for the answer.
However, I've build another BSP using the following command line, the console is initialized and I've the "TTYS1: port selected as console" message on the serial port, but no more messages and the target is frozen.
Are there things else to configure ?  

Thanks.

sa

> -----Message d'origine-----
> De : Chris Johns [mailto:chrisj at rtems.org] 
> Envoy? : vendredi 16 novembre 2007 20:39
> ? : Arquer Stephane
> Cc : rtems-users at rtems.org
> Objet : Re: Activate bsp_console_port_console on bsp_uart_com1
> 
> 
> Arquer Stephane wrote:
> > Hello,
> > 
> > I'm working with rtems v 4.7.1 and bsp pc386 and I want to catch 
> > console traces on com port. How can do ?
> > Is it during the bsp build that I've to choose the console 
> port ? And
> > How ?
> > Is it tunable with #define BSP_CONSOLE_PORT_CONSOLE ?
> > 
> 
> Add "USE_COM1_AS_CONSOLE=1" to the command line of configure. 
> For example:
> 
> $ configure --target=i386-rtems4.8 --prefix=/local/rtems/pc386 \
>              --enable-rtemsbsp=pc386 --enable-tests=yes \
>                   USE_COM1_AS_CONSOLE=1 \
> 
> Regards
> Chris
>