home Home import_contacts Research library_books Notes style Projects photos Photos Table Of Contents Ubuntu Build Mac Build Make it Usage Related Articles The Taranis Q X7 is Real Turnigy Reaktor 250W Charger BlHeli CleanFlight ESC Calibration The Ultimate Micro Quadcopter Guide Falcon 120 BlHeli ESC Upgrading and Configuration SiFive Risc-V Development Setup Nt 48

Risc-v is the new hotness and the SiFive FE310 is the first open source risc-v hardware SOC. This is a guide to start developing for this chip or FPGA.

Ubuntu Build

I'm using 16.04

Install the dependencies

sudo apt install -y build-essential texinfo gawk bison libmpc-dev libtool automake libusb-1.0-0-dev

Make it

Mac Build

Note, building on OSX is not supported yet. I tried anyway, but couldn't get it to build

On a mac, you'll want homebrew and then install the dependencies:

brew install coreutils gawk

Make it

Checkout and build the toolchain with:

git clone --recursive https://github.com/sifive/freedom-e-sdk.git
cd freedom-e-sdk
make tools


the toolchain will be in your build directory's toolchain\bin folder, so add that to your path and build away

Hope this was helpful. If so, feel free to checkout my YouTube channel, get updates when a new article is posted by following on Feedly and read the the other guides at nathan.vertile.com/blog