https://github.com/damaki/rp-runtimes
Authors:GPL-3.0-or-later WITH GCC-exception-3.1
Version:15.0.0
Alire CI: Dependencies:No dependents.
Badge:
First edit your alire.toml
file and add the following elements:
light_tasking_rp2040
in the dependency list:
[[depends-on]]
light_tasking_rp2040 = "*"
Then edit your project file to add the following elements:
with "runtime_build.gpr";
Target
and Runtime
attributes:
for Target use runtime_build'Target;
for Runtime ("Ada") use runtime_build'Runtime ("Ada");
Linker
switches:
package Linker is
for Switches ("Ada") use Runtime_Build.Linker_Switches & ("-Wl,--gc-sections");
end Linker;
Note that --gc-switches
is 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.