LED Blink Test in T2080RDB-PC

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

LED Blink Test in T2080RDB-PC

498 Views
anshulkhare
Contributor III

Hello All,

i have a T2080RDB-PC board, i am new to this board.

As per T2080 product brief GPIO is connected to status LED,

how to control the LED status From user application?

i am trying to write simple c program for LED blink but i am not getting any register information

in Data Sheet for controlling the LED status and i tried to search in build also but i am not getting any header file .

please help me to solve this issue.

Thanks in Advance !!

Regards,

Anshul

Labels (1)
0 Kudos
1 Reply

389 Views
Pavel
NXP Employee
NXP Employee

The simplest way for GPIO using under Linux is sysfs possibility.

NXP SDK Linux BSP supports sysfs.

See the following pages:

 

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