Pls tell how to write a UART Code using relevant APIs and cross compile it to P2020-RDB using SDK v1.7.
Look at the following page for SDK toolchain installing:
http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069706.html
Use the following command for test.c compiling:
$CC test.c --sysroot=/opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/ppce500v2-fsl-linux-gnuspe/ -o test
There are lot examples in internet for UART using under Linux. For example, see the following page:
http://www.tldp.org/HOWTO/Text-Terminal-HOWTO.html
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------