LS1043ARDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043ARDB

1,124 Views
lingguan
Contributor II

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.

0 Kudos
Reply
3 Replies

945 Views
Pavel
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

945 Views
Pavel
NXP Employee
NXP Employee

NXP offers CodeWarrior compiler:

https://www.nxp.com/support/developer-resources/software-development-tools/codewarrior-development-t...

 

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

 

https://elinux.org/GPIO


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

945 Views
lingguan
Contributor II

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?

0 Kudos
Reply