mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
risc-v/qemu-rv: Add LED Driver for QEMU RISC-V 32-bit and 64-bit
- This PR adds the LED Driver for QEMU RISC-V 32-bit and 64-bit (User LEDs and Auto LEDs) - QEMU RISC-V LED Driver will be used by the Rust Blinky App for Google Summer of Code - Blinking the LED is probably the most common Embedded Demo, and now it's supported by QEMU RISC-V - We added NuttX Configs `rv-virt:leds` and `rv-virt:leds64` to support User LEDs for 32-bit and 64-bit RISC-V - Turning on/off a Simulated User LED will print a log message: "LED 1 set to 1" - The code is derived from NuttX PinePhone LED Driver
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
cde13a74b1
commit
76bf6285c1
@@ -229,6 +229,16 @@ ksmp64
|
||||
|
||||
Identical to the `knsh64`_ configuration but with SMP support.
|
||||
|
||||
leds
|
||||
----
|
||||
|
||||
Similar to the `nsh`_ configuration, but with User LEDs support for 32-bit RISC-V.
|
||||
|
||||
leds64
|
||||
------
|
||||
|
||||
Similar to the `nsh64`_ configuration, but with User LEDs support for 64-bit RISC-V.
|
||||
|
||||
netnsh
|
||||
------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user