Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riscv-rust/seedstudio-gd32v
Board support crate for the GD32 RISC-V Dev Board from SeeedStudio
https://github.com/riscv-rust/seedstudio-gd32v
Last synced: about 2 months ago
JSON representation
Board support crate for the GD32 RISC-V Dev Board from SeeedStudio
- Host: GitHub
- URL: https://github.com/riscv-rust/seedstudio-gd32v
- Owner: riscv-rust
- Created: 2020-01-26T07:09:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-01T21:24:32.000Z (about 4 years ago)
- Last Synced: 2024-10-11T19:37:55.514Z (2 months ago)
- Language: Rust
- Homepage: https://www.seeedstudio.com/SeeedStudio-GD32-RISC-V-Dev-Board-p-4302.html
- Size: 48.8 KB
- Stars: 8
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- rust-embedded - `seedstudio-gd32v` - Board support crate for the [GD32 RISC-V Dev Board](https://www.seeedstudio.com/SeeedStudio-GD32-RISC-V-Dev-Board-p-4302.html) (Board support crates / SeeedStudio)
- awesome-embedded-rust - `seedstudio-gd32v` - Board support crate for the [GD32 RISC-V Dev Board](https://www.seeedstudio.com/SeeedStudio-GD32-RISC-V-Dev-Board-p-4302.html) (Board support crates / SeeedStudio)
README
[![crates.io](https://img.shields.io/crates/d/seedstudio-gd32v.svg)](https://crates.io/crates/seedstudio-gd32v)
[![crates.io](https://img.shields.io/crates/v/seedstudio-gd32v.svg)](https://crates.io/crates/seedstudio-gd32v)
[![Build Status](https://travis-ci.org/riscv-rust/seedstudio-gd32v.svg?branch=master)](https://travis-ci.org/riscv-rust/seedstudio-gd32v)# `seedstudio-gd32v`
> Board support crate for the the GD32 RISC-V Dev Board from SeeedStudio
## [Documentation](https://docs.rs/crate/seedstudio-gd32v)
## Getting started
### Installing dependencies
- Rust 1.36 or a newer toolchain. e.g. `rustup default stable`
- `rust-std` components (pre-compiled `core` crate) for the RISC-V target. Run:
``` console
rustup target add riscv32imac-unknown-none-elf
```- RISC-V toolchain ([e.g. from SiFive](https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz))
- [openocd for GD32VF103](https://github.com/riscv-mcu/riscv-openocd)
### Running the examples
Start openocd:
```sh
/path/to/openocd -f sipeed-jtag.cfg -f openocd.cfg
```Run one of the examples:
```sh
cargo run --example blinky
```
or
```sh
cargo run --release --example ferris --features lcd
```## License
Copyright 2020 [RISC-V team][team]
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.## Code of Conduct
Contribution to this crate is organized under the terms of the [Rust Code of
Conduct][CoC], the maintainer of this crate, the [RISC-V team][team], promises
to intervene to uphold that code of conduct.[CoC]: CODE_OF_CONDUCT.md
[team]: https://github.com/rust-embedded/wg#the-risc-v-team