Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] U-BOOT LED DRIVER

24

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
24

【Linux】 U-BOOT LED DRIVER

Posted at 7/30/2022 18:00:21      View:2043 | Replies:1        Print      Only Author   [Copy Link] 1#
Hi Guys,
I want to control user led on u-boot source files. How can I control user led on u-boot board_late_init() function? Please advise. Simple led blink example code is enough for me.

Best regards
Reply

Use props Report

235

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
235
Posted at 8/2/2022 11:00:05        Only Author  2#
You can refer to u-boot/cmd/gpio.c and set the gpio of the led directly in the function.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list