37#ifndef LIBBSP_AARCH64_RASPBERRYPI_BSP_CONSOLE_H
38#define LIBBSP_AARCH64_RASPBERRYPI_BSP_CONSOLE_H
47#define CONSOLE_DEVICES RASPBERRYPI_CONSOLE_DEVICES
49#define CONSOLE_DEVICE_PORT2ENUM(port_no) UART##port_no
50#define CONSOLE_DEVICE_ENUM(port_no, ...) CONSOLE_DEVICE_PORT2ENUM(port_no),
53 CONSOLE_DEVICES(CONSOLE_DEVICE_ENUM)
55} raspberrypi_console_device_port;
70 raspberrypi_console_device_port uart_num
73#undef CONSOLE_DEVICE_ENUM
rtems_status_code raspberrypi_uart_init(raspberrypi_console_device_port uart_num)
Initialize gpio of UART and install UART to the dev directory.
Definition: console.c:136
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
Raspberry Pi 4B Console Device Definitions.