Firefly Open Source Community

Title: U-BOOT LED DRIVER [Print This Page]

Author: rms    Time: 7/30/2022 18:00
Title: U-BOOT LED DRIVER
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
Author: 895816513    Time: 8/2/2022 11:00
You can refer to u-boot/cmd/gpio.c and set the gpio of the led directly in the function.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1