37#ifndef LIBBSP_AARCH64_RASPBERRYPI_BSP_CONSOLE_H
38#define LIBBSP_AARCH64_RASPBERRYPI_BSP_CONSOLE_H
43#define CONSOLE_DEVICES RASPBERRYPI_CONSOLE_DEVICES
45#define CONSOLE_DEVICE_PORT2ENUM(port_no) UART##port_no
46#define CONSOLE_DEVICE_ENUM(port_no, ...) CONSOLE_DEVICE_PORT2ENUM(port_no),
49 CONSOLE_DEVICES(CONSOLE_DEVICE_ENUM)
51} raspberrypi_console_device_port;
66 raspberrypi_console_device_port uart_num
69#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.