source

embedded_nrf52840

14.1.1

embedded runtime for the nRF52840 SoC

14.1.1

Usage

First edit your alire.toml file and add the following elements:

  • Add embedded_nrf52840 in the dependency list:
    [[depends-on]]
    embedded_nrf52840 = "*"
    

Then edit your project file to add the following elements:

  • "with" the run-time project file. With this, gprbuild will compile the run-time before your application
    with "ravenscar_build.gpr";
    
  • Specify the Target and Runtime attributes:
       for Target use ravenscar_build'Target;
       for Runtime ("Ada") use ravenscar_build'Runtime ("Ada");