You've already forked Ada_Drivers_Library
mirror of
https://github.com/AdaCore/Ada_Drivers_Library.git
synced 2026-02-12 12:26:55 -08:00
* Switch to GNAT FSF 12 support * GNAT FSF 12 in GitHub CI * Update README.md * Remove run-time dependency build script that is not compatible with GNAT FSF This script is also not needed as all the BSPs are included in GNAT FSF.
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.