PlatformIO SiFive dev/platform 1.0.0: IP Core emulation and debugging without hardware!

The PlatformIO Team is pleased to announce the next release v1.0.0 of SiFive RiSC-V development platform.

25

What’s New

  • Update Freedom E SDK to v201908
  • Update RISC-V GCC toolchain to 8.3.0
  • Update openOCD for RISC-V to v2019.08.2
  • Update QEMU to 4.1.0

See Release Notes for details.

Emulation

Emulate SiFive E310 and U540 IP Cores without physical hardware. See a sample project for E310:

platformio.ini

[platformio]
description = A simple "Hello, World!" example to demonstrate printf and build environment.

[env:e310-emulation]
platform = sifive
framework = freedom-e-sdk
board = e310-arty
debug_tool = qemu

main.c

#include <stdio.h>

int main() {
    printf("Hello, World!\n");
}

Documentation

See https://docs.platformio.org/en/latest/platforms/sifive.html

Examples

See project examples https://github.com/platformio/platform-sifive/tree/develop/examples

Update

  • PlatformIO IDE – please navigate to PIO Home > Platforms > Updates
  • PlatformIO Core – please run a next CLI command $ pio update

Regards,
The PlatformIO Team

2 Likes