LS1043ARDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1043ARDB

826 次查看
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 项奖励
3 回复数

647 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

647 次查看
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 项奖励

647 次查看
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 项奖励