Files
Fabien Chouteau 05674c7da2 Replace riscv32-elf with riscv64-elf
GNAT FSF compiler only comes in riscv64-elf version that supports both 32 and 64 RISC-V.
2025-05-15 10:49:56 +02:00
..
2018-05-29 16:02:24 -04:00
2023-01-02 11:34:55 +01:00

SiFive's HiFive1 is an Arduino compatible dev kit featuring the RISC-V Freedom E310 micro-controller.

You can get it at sifive.com.

How to setup the Ada development environment for the HiFive1

You can use GNAT FSF riscv64-elf and GPRbuild releases from the Alire project, download here.

A public release of GNAT Studio is also available here.

Building the example

To build the example, make sure sure you have all the tools in your PATH and run:

$ gprbuild -f -p -P hifive1_example.gpr -XPLATFORM_BUILD=Debug

Follow the instructions in the freedom-e-sdk to flash the example on the board using OpenOCD.