Changes between Version 11 and Version 12 of TBR/Website/FAQ


Ignore:
Timestamp:
Mar 19, 2009, 3:42:02 AM (11 years ago)
Author:
ChrisJohns
Comment:

/* Changing the console buffer size and baud rate */

Legend:

Unmodified
Added
Removed
Modified
  • TBR/Website/FAQ

    v11 v12  
    5757<i>Is there some appropriate way of configuring the console buffer size (and baud rate) in bsp.h, or some way of calling the termios code to get the rate changed and buffer resized at startup ?</i>
    5858
    59 To change the buffer size call {{{rtems_termios_bufsize</code> before the console termios driver initialised. The call is defined in <file>libio_.h</file> in {{{cpukit/libcsupport</code>.
     59To change the buffer size call {{{rtems_termios_bufsize</code> before the console termios driver is initialised. The call is defined in <file>libio_.h</file> in {{{cpukit/libcsupport</code>.
    6060
    61 To change the default baud rate, you cannot. This is normal. You cannot do that on Linux. You can how-ever make a termios set attribute call before you use the serial of console. This could be in a BSP hook or {{{main</code>.
     61To change the default baud rate, you cannot. This is normal. You cannot do that on Linux. You can how-ever make a termios set attribute call before you use the serial port or console. This could be in a BSP hook or {{{main</code>.