Changes between Version 13 and Version 14 of TBR/Website/FAQ


Ignore:
Timestamp:
Mar 19, 2009, 6:08:48 PM (11 years ago)
Author:
JoelSherrill
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • TBR/Website/FAQ

    v13 v14  
    5959To 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 port or console. This could be in a BSP hook or {{{main</code>.
     61To change the default baud rate for the console port, call ''rtems_termios_set_initial_baud'' after calling ''rtems_termios_open'' in the device driver.  The powerpc/gen5200 BSP uses this feature so the RTEMS console honors the baud rate configured via U-Boot.  Later in the application you can make a termios set attribute call before you use the serial port or console. This could be in a BSP hook or {{{main</code>.
    6262== OSI protocols with RTEMS ==
    6363