mirror of
https://github.com/AdaCore/svd2ada.git
synced 2026-02-12 12:27:20 -08:00
master
Add option to use `No_Elaboration_Code_All` pragma.
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
Languages
Ada
97.2%
HTML
2.6%
Makefile
0.2%