Skip to content
An Ada binding generator from SVD descriptions for bare board ARM devices.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMSIS-SVD SiFive: add missing addressOffset to the PLIC ENABLE register Apr 8, 2019
obj
schema
src Refactor function Find_Overalapping_Registers into a procedure becaus… Jan 13, 2019
.gitignore
LICENSE
README.md
svd2ada.gpr

README.md

svd2ada

SVD2Ada is an Ada binding generator from CMSIS-SVD descriptions for ARM Cortex-M devices. It is meant to ease, strengthen and speed up driver development for those platforms.

Build

To build SVD2Ada you need a native GNAT compiler, for instance GNAT Community edition that you can find here.

After installing GNAT, you can build with the following command:

$ gprbuild -P svd2ada.gpr

Usage

To run SVD2Ada you need to specify at least the SVD file from which you want to generate code, and the output directory where the code will be generated.

$ svd2ada <SVD_FILE> -o <OUTPUT_DIR>

Use --help to display information about the different code generation options available:

$ svd2ada --help
You can’t perform that action at this time.