SiFive

Configuration:

platform = sifive

SiFive brings the power of open source and software automation to the semiconductor industry, making it possible to develop new hardware faster and more affordably than ever before.

For more detailed information please visit vendor site.

Examples

Examples are listed from SiFive development platform repository:

Debugging

Debugging - “1-click” solution for debugging with a zero configuration.

Tools & Debug Probes

Supported debugging tools are listed in “Debug” column. For more detailed information, please scroll table by horizontal. You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions.

On-Board Debug Tools

Boards listed below have on-board debug probe and ARE READY for debugging! You do not need to use/buy external debug probe.

Name

MCU

Frequency

Flash

RAM

Arty FPGA Dev Kit

FE310

450MHz

16MB

256MB

HiFive Unleashed

FU540

1500MHz

32MB

8GB

HiFive1

FE310

320MHz

16MB

16KB

HiFive1 Rev B

FE310

320MHz

16MB

16KB

SparkFun RED-V RedBoard

FE310

320MHz

16MB

16KB

SparkFun RED-V Thing Plus

FE310

320MHz

16MB

16KB

Stable and upstream versions

You can switch between stable releases of SiFive development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.

Stable

; Latest stable version
[env:latest_stable]
platform = sifive
board = ...

; Custom stable version
[env:custom_stable]
platform = sifive@x.y.z
board = ...

Upstream

[env:upstream_develop]
platform = https://github.com/platformio/platform-sifive.git
board = ...

Packages

Name

Description

framework-freedom-e-sdk

Open Source Software for Developing on the SiFive Freedom E Platform

framework-zephyr

Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures

framework-zephyr-canopennode

canopennode Zephyr module

framework-zephyr-civetweb

Zephyr module for CivetWeb Embedded C/C++ web server

framework-zephyr-fatfs

Zephyr module for FatFS filesystem

framework-zephyr-hal-st

Zephyr module for the official libraries provided by STMicroelectronics

framework-zephyr-libmetal

Zephyr module for an abstraction layer across user-space Linux, baremetal, and RTOS environments

framework-zephyr-littlefs

Zephyr module for littlefs filesystem

framework-zephyr-loramac-node

Zephyr module for LoRaWAN endpoint stack implementation

framework-zephyr-lvgl

Zephyr module for LittlevGL - an Open-source Embedded GUI Library

framework-zephyr-mbedtls

Zephyr module for the mbed TLS library

framework-zephyr-mcuboot

Zephyr module for MCUboot - a secure bootloader for 32-bit MCUs

framework-zephyr-mcumgr

Zephyr module for mcumgr management library for 32-bit MCUs

framework-zephyr-mipi-sys-t

Zephyr module for MIPI System Software Trace

framework-zephyr-open-amp

Zephyr module for Open Asymmetric Multi Processing (OpenAMP) framework

framework-zephyr-openthread

Zephyr module for OpenThread - an open-source implementation of the Thread networking protocol

framework-zephyr-segger

Zephyr module for the Segger RTT library

framework-zephyr-sof

Zephyr module for Sound Open Firmware

framework-zephyr-tfm-mcuboot

Zephyr module for MCUboot - a secure bootloader for 32-bit MCUs (TFM Dependency)

framework-zephyr-tinycbor

Zephyr module for Concise Binary Object Representation Library

framework-zephyr-tinycrypt

The TinyCrypt Library provides an implementation for constrained devices of a minimal set of standard cryptography primitives for Zephyr framework

framework-zephyr-trusted-firmware-m

Zephyr module for Trusted Firmware M - a reference implementation of secure world software for ARMv8-M

tool-cmake

CMake is an open-source, cross-platform family of tools designed to build, test and package software

tool-dtc

Device tree compiler

tool-gperf

GNU gperf is a perfect hash function generator

tool-jlink

Software and Documentation Pack for SEGGER J-Link debug probes

tool-ninja

Ninja is a small build system with a focus on speed

tool-openocd-riscv

Fork of Open On-Chip Debugger that has RISC-V support

tool-qemu-riscv

QEMU is a generic and open source machine emulator and virtualizer

tool-renode

Renode is a development framework which accelerates IoT and embedded systems development by letting you simulate physical hardware systems

toolchain-riscv

GNU toolchain for RISC-V, including GCC

Warning

Linux Users:

Windows Users:

Please check that you have a correctly installed USB driver from board manufacturer

Frameworks

Name

Description

FreeRTOS

FreeRTOS is a real-time operating system kernel for embedded devices that has been ported to 40 microcontroller platforms

Freedom E SDK

Open Source Software for Developing on the SiFive Freedom E Platform

Zephyr RTOS

The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with safety and security in mind

Boards

Note

SiFive

Name

Debug

MCU

Frequency

Flash

RAM

HiFive Unleashed

On-board

FU540

1500MHz

32MB

8GB

HiFive1

On-board

FE310

320MHz

16MB

16KB

HiFive1 Rev B

On-board

FE310

320MHz

16MB

16KB

SparkFun

Name

Debug

MCU

Frequency

Flash

RAM

SparkFun RED-V RedBoard

On-board

FE310

320MHz

16MB

16KB

SparkFun RED-V Thing Plus

On-board

FE310

320MHz

16MB

16KB

Xilinx

Name

Debug

MCU

Frequency

Flash

RAM

Arty FPGA Dev Kit

On-board

FE310

450MHz

16MB

256MB