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

PIO Unified Debugger - “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

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

tool-jlink

SEGGER J-Link Software and Documentation Pack

tool-openocd-riscv

OpenOCD for RISC-V

tool-qemu-riscv

Open source machine emulator and virtualizer

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

Freedom E SDK

Open Source Software for Developing on the SiFive Freedom E Platform

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

Xilinx

Name

Debug

MCU

Frequency

Flash

RAM

Arty FPGA Dev Kit

On-board

FE310

450MHz

16MB

256MB