mirror of
https://github.com/AdaCore/startup-gen.git
synced 2026-02-12 13:02:12 -08:00
21.1
startup-gen
startup-gen generates startup files (crt0 and linker script) based on
properties of the target device such as: architecture, memory layout, number of
interrupts.
One of the goals of this tool is to make it easier to start developing on micro-controllers by providing the basic elements of a Board Support Package (BSP).
Build
startup-gen depends on the
template-parser library. Clone
or download the repository and set the GPR_PROJECT_FILE path:
$ export GPR_PROJECT_PATH=/path/to/templates-parser/
Download and install a native GNAT Community compiler at adacore.com/download.
Build with this command:
$ gprbuild -P startup_gen.gpr
Usage
See documentation.
Work-in-progress
The dev branch of this repository also contains work-in-progress tools to
build a database of target properties for more than 3000 ARM micro-controllers
from CMSIS-Pack files.
Description
Languages
Ada
81.1%
Python
18%
C
0.9%