# HiFive1

Contents

- HiFive1

  - Hardware

  - Configuration

  - Debugging

  - Frameworks

## Hardware

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.

Microcontroller | FE310
Frequency | 320MHz
Flash | 16MB
RAM | 16KB
Vendor | SiFive

## Configuration

Please use `hifive1` ID for board option in “platformio.ini” (Project Configuration File):

    [env:hifive1]
    platform = sifive
    board = hifive1

You can override default HiFive1 settings per build environment using `board_***` option, where `***` is a JSON object path from board manifest hifive1.json. For example, `board_build.mcu`, `board_build.f_cpu`, etc.

    [env:hifive1]
    platform = sifive
    board = hifive1

    ; change microcontroller
    board_build.mcu = fe310

    ; change MCU frequency
    board_build.f_cpu = 320000000L

## Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

Warning

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

You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

HiFive1 has on-board debug probe and IS READY for debugging. You don’t need to use/buy external debug probe.

Compatible Tools | On-board | Default
--- | --- | ---
FTDI Chip | Yes | Yes
QEMU | Yes |
Renode | Yes |

## Frameworks

Name | Description
--- | ---
Freedom E SDK | Open Source Software for Developing on the SiFive Freedom E Platform
Zephyr | 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.