source
embedded_rp2350
15.1.0embedded runtime for the RP2350 SoC
15.1.0
Usage
First edit your alire.toml file and add the following elements:
- Add
embedded_rp2350in the dependency list:[[depends-on]] embedded_rp2350 = "*"
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 "runtime_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.