risc-v/qemu-rv: Add Build Config for leds64_rust#12862
Merged
xiaoxiang781216 merged 1 commit intoapache:masterfrom Aug 8, 2024
Merged
risc-v/qemu-rv: Add Build Config for leds64_rust#12862xiaoxiang781216 merged 1 commit intoapache:masterfrom
xiaoxiang781216 merged 1 commit intoapache:masterfrom
Conversation
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`](apache#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
xiaoxiang781216
approved these changes
Aug 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new Build Config
rv-virt:leds64_rustthat builds the Rust Appleds_rustfor QEMU RISC-V 64-bit. The build requires the Rust Targetriscv64gc-unknown-none-elf:New Files
boards/risc-v/qemu-rv/rv-virt/configs/leds64_rust/defconfig: Add new Build Configrv-virt:leds64_rustUpdated Docs
applications/examples/leds_rust/index.rst: Addleds_rustexample appplatforms/risc-v/qemu-rv/boards/rv-virt/index.rst: Addrv-virt:leds64_rustconfigImpact
No impact on existing code, since
rv-virt:leds64_rustis unused by the current code.leds_rustwill be compiled for every run of NuttX CI. This will validate whether Rust Apps are built correctly for QEMU RISC-V 64-bit. We have added the Rust Targetriscv64gc-unknown-none-elfto the Docker Image for NuttX CI: #12858Testing
We tested the
leds_rustexample app onrv-virt:leds64_rust(QEMU RISC-V 64-bit): Test LogWe also tested
rv-virt:leds64_ruston the Docker Image for NuttX CI: #12858