SiFive
- Registry:
- Configuration:
platform =
platformio/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 |
---|---|---|---|---|
FE310 |
450MHz |
16MB |
256MB |
|
FU540 |
1500MHz |
32MB |
8GB |
|
FE310 |
320MHz |
16MB |
16KB |
|
FE310 |
320MHz |
16MB |
16KB |
|
FE310 |
320MHz |
16MB |
16KB |
|
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, NOT recommended
; Pin the version as shown below
[env:latest_stable]
platform = sifive
board = ...
; Specific 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 |
---|---|
Open Source Software for Developing on the SiFive Freedom E Platform |
|
Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures |
|
CMake is an open-source, cross-platform family of tools designed to build, test and package software. |
|
Device tree compiler |
|
GNU gperf is a perfect hash function generator |
|
Software and Documentation Pack for SEGGER J-Link debug probes |
|
Ninja is a small build system with a focus on speed |
|
Fork of Open On-Chip Debugger that has RISC-V support |
|
QEMU is a generic and open source machine emulator and virtualizer |
|
Renode is a development framework which accelerates IoT and embedded systems development by letting you simulate physical hardware systems |
|
GNU toolchain for RISC-V, including GCC |
Warning
Linux Users:
Install “udev” rules 99-platformio-udev.rules
Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.
Windows Users:
Please check that you have a correctly installed USB driver from board manufacturer
Frameworks
Name |
Description |
---|---|
Open Source Software for Developing on the SiFive Freedom E Platform |
|
FreeRTOS is a real-time operating system kernel for embedded devices that has been ported to 40 microcontroller platforms. |
|
Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures |
Boards
Note
You can list pre-configured boards by pio boards command
For more detailed
board
information please scroll the tables below by horizontally.
SiFive
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
FU540 |
1500MHz |
32MB |
8GB |
|
On-board |
FE310 |
320MHz |
16MB |
16KB |
|
On-board |
FE310 |
320MHz |
16MB |
16KB |
SparkFun
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
FE310 |
320MHz |
16MB |
16KB |
|
On-board |
FE310 |
320MHz |
16MB |
16KB |
Xilinx
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
FE310 |
450MHz |
16MB |
256MB |