Hi Sebastian 2016-04-19 17:31 GMT+08:00 Sebastian Huber < sebastian.hu...@embedded-brains.de>:
> > > 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 Thanks for reviewing. Will use the new way in patch V2. Thanks, Peng. > > > -- > 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 : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel