Skip to content

Commit

Permalink
docs(README): add documentation on how to build ch32v003 examples wit…
Browse files Browse the repository at this point in the history
…h rust-nightly
  • Loading branch information
dickenhobelix committed Feb 24, 2025
1 parent 2f176c8 commit a140506
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/ch32v003/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Link: [OSHWHUB](https://oshwhub.com/andelf/linedog)

## Running Examples

### using rust-nightly for building

call `rustup install nightly` and `rustup override set nightly` to build this project with rust nightly,
which allows to compilation for riscv32ec using the [json-file](riscv32ec-unknown-none-elf.json) provided.

You might need to install the sources for core with `rustup component add rust-src`

### Using [wlink](https://github.com/ch32-rs/wlink)
- Install wlink using the installation instructions: https://github.com/ch32-rs/wlink?tab=readme-ov-file#install

Expand Down

0 comments on commit a140506

Please sign in to comment.