source
light_tasking_rp2350
15.2.0light-tasking runtime for the RP2350 SoC
15.2.0
Usage
First edit your alire.toml file and add the following elements:
- Add
light_tasking_rp2350in the dependency list:[[depends-on]] light_tasking_rp2350 = "*"
Then edit your project file to add the following elements:
- "with" the run-time project files. With this, gprbuild will compile the run-time before your application
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:
Note thatpackage Linker is for Switches ("Ada") use Runtime_Build.Linker_Switches & ("-Wl,--gc-sections"); end Linker;--gc-switchesis recommended as it reduces flash and RAM usage by removing unused code and data, but it is not mandatory.
See the project website for details on configuring the runtime.