<div dir="ltr">Hi <span style="font-size:14px;white-space:nowrap">Sebastian</span><div class="gmail_extra"><br><div class="gmail_quote">2016-04-19 17:31 GMT+08:00 Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 19/04/16 11:11, Peng Fan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+const console_fns imx_uart_fns = {<br>
>+ .deviceProbe = libchip_serial_default_probe,<br>
>+ .deviceFirstOpen = imx_uart_first_open,<br>
>+ .deviceLastClose = imx_uart_last_close,<br>
>+ .deviceRead = imx_uart_read_polled,<br>
>+ .deviceWrite = imx_uart_write_support_polled,<br>
>+ .deviceInitialize = imx_uart_initialize,<br>
>+ .deviceWritePolled = imx_uart_write_polled,<br>
>+ .deviceSetAttributes = imx_uart_set_attribues,<br>
>+ .deviceOutputUsesInterrupts = false<br>
>+};<br>
</blockquote>
<br></span>
Please don't use this console driver framework. Use rtems_termios_device_handler instead. For an example see:<br>
<br>
c/src/lib/libbsp/arm/atsam/console/console.c</blockquote><div><br></div><div>Thanks for reviewing. Will use the new way in patch V2.</div><div><br></div><div>Thanks,</div><div>Peng.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
Fax : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</font></span></blockquote></div><br></div></div>