risc-v/qemu-rv: Add Build Config for leds64_rust

This PR adds a new Build Config `rv-virt:leds64_rust` that builds the Rust App `leds_rust` for QEMU RISC-V 64-bit. The build requires the [Rust Target `riscv64gc-unknown-none-elf`](https://github.com/apache/nuttx/pull/12858):

```bash
rustup target add riscv64gc-unknown-none-elf
```

New Files:

`boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig`: Add new Build Config `rv-virt:leds64_rust`

Updated Docs:

`applications/examples/leds_rust/index.rst`: Add `leds_rust` example app

`platforms/risc-v/qemu-rv/boards/rv-virt/index.rst`: Add `rv-virt:leds64_rust` config
This commit is contained in:
Lup Yuen Lee
2024-08-08 06:32:23 +08:00
committed by Xiang Xiao
parent 8399a780d8
commit 3862b71728
3 changed files with 87 additions and 0 deletions
@@ -257,6 +257,11 @@ leds64
Similar to the `nsh64`_ configuration, but with User LEDs support for 64-bit RISC-V.
leds64_rust
-----------
Similar to the `leds64`_ configuration, but with ``leds_rust`` example enabled.
netnsh
------