source
light_tasking_nrf54l_app
15.4.0light-tasking runtime for the nRF54L series
15.4.0
Usage
First edit your alire.toml file and add the following elements:
- Add
light_tasking_nrf54l_appin the dependency list:[[depends-on]] light_tasking_nrf54l_app = "*"
Then edit your project file to add the following elements:
- "with" the run-time project files:
with "runtime_build.gpr"; with "ravenscar_build.gpr"; - Specify the
TargetandRuntimeattributes:for Target use Runtime_Build'Target; for Runtime ("Ada") use Runtime_Build'Runtime ("Ada"); - specify the
Linkerswitches:package Linker is for Switches ("Ada") use Runtime_Build.Linker_Switches & ("-Wl,--gc-sections"); end Linker;
Note that the linker switch -Wl,--gc-sections is optional, but its use is
recommended since it reduces the final size of the executable by removing
unused code.