`hifive1` logo

`hifive1`

Free

Board support crate for [HiFive1](https://www.sifive.com/boards/hifive1) and [LoFive](https://hackaday.io/project/26909-lofive) boards - [![crates.io](https://img.shields.io/crates/v/hifive.svg)](https://crates.io/crates/hifive)

FreeFree tier
Type
Open Source

About `hifive1`

hifive1 is a board support crate for the SiFive HiFive1 and LoFive RISC-V development boards, providing low-level hardware abstractions and peripheral access for embedded Rust development. It supports multiple board variants including HiFive1 RevB, SparkFun Red-V RedBoard, and LoFive revisions. The crate is implemented primarily in Rust (92.3%) with assembly (5.7%) and shell scripts (2.0%), and requires a minimum stable Rust version of 1.59.0. It is licensed under a permissive MIT-like license and is part of the RISC-V Rust ecosystem. Note: The repository was archived in September 2025 and is now read-only.

Key Features

Supports SiFive HiFive1, HiFive1 RevB, SparkFun Red-V RedBoard, and LoFive variants
Written primarily in Rust with assembly and shell components
Minimum supported Rust version (MSRV) 1.59.0
Permissive MIT-like open source license
Part of the riscv-rust embedded Rust ecosystem
Provides hardware abstraction and peripheral access for RISC-V boards

Pros & Cons

Pros
  • Open source with a permissive license
  • Supports multiple board variants from SiFive and SparkFun
  • Leverages Rust's safety and performance for embedded development
  • Well-documented with a clear MSRV policy
  • Active development until archival, with 12 releases and 75 stars on GitHub
Cons
  • Repository has been archived since September 2025 and is no longer actively maintained
  • Limited to specific HiFive and LoFive hardware, not a general-purpose embedded crate
  • Requires knowledge of RISC-V architecture and Rust for effective use

Best For

Embedded Rust development on SiFive HiFive1 and LoFive boardsLow-level hardware programming for RISC-V-based microcontrollersEducational projects for learning RISC-V assembly and Rust on embedded systems

FAQ

Which boards are supported by this crate?
The crate supports SiFive HiFive1, SiFive HiFive1 RevB, SparkFun Red-V RedBoard, LoFive, and LoFive-r1. Use the corresponding Cargo feature (board-hifive1, board-hifive1-revb, board-redv, board-lofive, board-lofive-r1).
What is the minimum Rust version required?
The minimum supported Rust version (MSRV) is 1.59.0 (stable). Older versions may work but are not guaranteed.
Is this crate still maintained?
No, the repository was archived by the owner on September 2, 2025, and is now read-only. No further updates are expected.