Console Configuration.
More...
#include <rtems/bspIo.h>
#include <rtems/console.h>
#include <rtems/sysinit.h>
#include <libchip/serial.h>
#include <libfdt.h>
#include <libchip/ns16550.h>
#include <dev/serial/arm-pl011.h>
#include <bspopts.h>
#include <bsp/usart.h>
#include <bsp/raspberrypi.h>
#include <bsp/fbcons.h>
#include <bsp.h>
#include <bsp/console-termios.h>
#include <bsp/fdt.h>
#include <bsp/fatal.h>
#include <bsp/gpio.h>
#include <bsp/rpi-gpio.h>
|
#define | PL011 "/dev/ttyAMA0" |
|
#define | MINIUART "/dev/ttyS0" |
|
#define | FBCONS "/dev/fbcons" |
|
◆ PL011
#define PL011 "/dev/ttyAMA0" |
UART0 - PL011 UART1 - Mini UART
◆ console_initialize()
Console initialization entry point.
This method initializes the console device driver.
- Parameters
-
[in] | major | is the device driver major number. |
[in] | minor | is the device driver minor number. |
[in] | arg | is the parameters to this call. |
- Return values
-
RTEMS_SUCCESSFUL | The device driver is successfully initialized. |
◆ pl011_context