Skip to content

ekoeppen/bb-runtimes

This branch is 25 commits ahead of, 732 commits behind AdaCore/bb-runtimes:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

36fa006 · Jan 12, 2019
May 9, 2018
Jan 12, 2019
Oct 24, 2018
Jan 9, 2018
Jan 11, 2018
May 7, 2018
May 16, 2018
Aug 23, 2018
Apr 17, 2018
Jan 12, 2019
May 24, 2018
Sep 19, 2014
Jan 11, 2018
Jun 28, 2017
Jun 13, 2018
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
Sep 19, 2014
May 7, 2018
Oct 31, 2018
Dec 14, 2016
Oct 16, 2017
Jan 5, 2019
Jun 28, 2018
Nov 12, 2014

Repository files navigation

bb-runtimes

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

dependencies

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

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

The list of supported boards is listed in build-rts.py 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

About

Source repository for the GNAT Bare Metal BSPs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ada 80.6%
  • Assembly 14.6%
  • Python 3.1%
  • C 0.9%
  • Shell 0.5%
  • Makefile 0.2%
  • C++ 0.1%