On 19/04/16 11:11, Peng Fan wrote:
+const console_fns imx_uart_fns = {
>+ .deviceProbe = libchip_serial_default_probe,
>+ .deviceFirstOpen = imx_uart_first_open,
>+ .deviceLastClose = imx_uart_last_close,
>+ .deviceRead = imx_uart_read_polled,
>+ .deviceWrite = imx_uart_write_support_polled,
>+ .deviceInitialize = imx_uart_initialize,
>+ .deviceWritePolled = imx_uart_write_polled,
>+ .deviceSetAttributes = imx_uart_set_attribues,
>+ .deviceOutputUsesInterrupts = false
>+};
Please don't use this console driver framework. Use
rtems_termios_device_handler instead. For an example see:
c/src/lib/libbsp/arm/atsam/console/console.c
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : [email protected]
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel