Skip to content
Source repository for the GNAT Bare Metal BSPs
Branch: community-2018
Clone or download
pat-rogers fix spelling error

Change-Id: I7c4ea55d03b37f20b343ff1769f92d2facf60c81
Latest commit aed4926 Oct 31, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
aarch64 aarch64: remove experimental ravenscar-mc runtime May 9, 2018
arm Further cleanup of tms570 runtime. May 30, 2018
doc/porting_runtime_for_cortex_m Correct more script references in doc Oct 24, 2018
examples Start Microsemi M1AGL Cortex-M1 FPGA support Jan 9, 2018
native remove unused properties and refactor runtime.xml generation Jan 11, 2018
powerpc p5566: fix warning in start-flash.S May 16, 2018
riscv BSP for the PicoRV32 RISC-V Verilog CPU Aug 23, 2018
sparc Use -mcpu=leon with uniprocessor leon3 runtimes. Apr 17, 2018
src Prevent multiple handlers to be attached to the same IRQ Jul 5, 2018
support Revert "Quick fix to get ravenscar-sfp-microbit working" May 24, 2018
tests/malloc Create bb-runtimes repository for bareboard runtimes. Sep 19, 2014
.gitignore Add .gitignore and .gitreview Jun 28, 2017
.gitreview Switch .gitreview to Community-2018 on this branch. Jun 13, 2018 Add file Jul 27, 2017
COPYING.RUNTIME Add GPL+Exception licenses Jul 27, 2017
COPYING3 Add GPL+Exception licenses Jul 27, 2017
Changes Create bb-runtimes repository for bareboard runtimes. Sep 19, 2014
Makefile Prepare bb-runtimes scripts for being extended by external repos. May 7, 2018 fix spelling error Oct 31, 2018 Add aarch64-qemu runtime. Dec 14, 2016 Add BSP definition of the STM32756G-EVAL board Oct 16, 2017 BSP for the PicoRV32 RISC-V Verilog CPU Aug 23, 2018 fix execution of on Windows Jun 28, 2018 Add smp discriminant for 8641d Nov 12, 2014


This repository is used to generate the runtime source trees for AdaCore's bare metal targets.


This repository depends on both gcc and gnat repositories to generate a full runtime. However it can also use the sources from an installed compiler and rely on those to just generate the BSP part of the runtime.

generation of BSPs

./ --output=temp --bsps-only <board1> <board2> ...

The list of supported boards is listed in within build_configs.

building and installing a runtime

Once a BSP is generated, make sure you have setup a GNAT compiler for the board's target, and call gprbuild/gprinstall

gprbuild -P temp/BSPs/<rts_project>.gpr -j0 -f
gprinstall -P temp/BSPs/<rts_project>.gpr -p -f

where -P specified the project file, -j0 specifies to build using all CPUs available on the host, -f forces a full project build.

rts with debug information

To build a runtime with debug information, you can set the scenario variable BUILD to Debug:

gprbuild -P temp/BSPs/<rts_project>.gpr -j0 -XBUILD=Debug -f
You can’t perform that action at this time.