Hi experts,
I have a question about using LS1043ARDB to achieve some applications.
How do write C/C++ program to control some GPIOs and ethernet port ?
Sincerely.
Yes, it is possible. Use CodeWarrior for Linux for your task.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
NXP offers CodeWarrior compiler:
This CodeWarrior can be used for developing standalone application and Linux application. Evaluation version for CodeWarrior supports full functionality during 30 days.
The simplest way if Linux sysfs possibility is used for control GPIO or Ethernet.
See the following pages:
http://www.6by9.net/using-linux-sys-to-disable-ethernet-hardware-devices/
https://www.kernel.org/doc/Documentation/gpio/sysfs.txt
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you very much for your reply.
I don't have JTAG for CodeWarrior. Could I first write program in CodeWarrior, and then copy program to Linux environment for cross compile?