60 lines
1.9 KiB
TOML
60 lines
1.9 KiB
TOML
name = "embedded_nrf52833"
|
|
description = "embedded runtime for the NRF52833 SoC"
|
|
version = "15.4.0"
|
|
|
|
long-description = """
|
|
## Usage
|
|
|
|
First edit your `alire.toml` file and add the following elements:
|
|
- Add `embedded_nrf52833` in the dependency list:
|
|
```toml
|
|
[[depends-on]]
|
|
embedded_nrf52833 = "*"
|
|
```
|
|
|
|
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
|
|
```ada
|
|
with "$(runtime_proj_prefix)_build.gpr";
|
|
```
|
|
- Specify the `Target` and `Runtime` attributes:
|
|
```ada
|
|
for Target use $(runtime_proj_prefix)_build'Target;
|
|
for Runtime ("Ada") use $(runtime_proj_prefix)_build'Runtime ("Ada");
|
|
```
|
|
"""
|
|
|
|
authors = ["AdaCore", "Daniel King"]
|
|
maintainers = ["Daniel King <damaki.gh@gmail.com>"]
|
|
maintainers-logins = ["damaki"]
|
|
licenses = "GPL-3.0-or-later WITH GCC-exception-3.1"
|
|
tags = ["embedded", "runtime"]
|
|
website = "https://github.com/damaki/community-bb-runtimes"
|
|
|
|
project-files = ['runtime_build.gpr', 'ravenscar_build.gpr']
|
|
|
|
[configuration]
|
|
generate_gpr = false
|
|
generate_c = false
|
|
output_dir = "gnat_user"
|
|
|
|
[configuration.variables]
|
|
Time_Base = { type = "Enum", values = ["RTC0", "RTC1", "RTC2"], default = "RTC2" }
|
|
LFCLK_Src = { type = "Enum", values = ["Xtal", "RC", "Synth"], default = "Xtal" }
|
|
Use_SWO_Trace = { type = "Boolean", default = true }
|
|
Use_Reset_Pin = { type = "Boolean", default = true }
|
|
|
|
Interrupt_Stack_Size = { type = "Integer", first = 1, default = 1024 }
|
|
Interrupt_Secondary_Stack_Size = { type = "Integer", first = 1, default = 128 }
|
|
|
|
[[depends-on]]
|
|
gnat_arm_elf = "^15"
|
|
|
|
[origin]
|
|
hashes = [
|
|
"sha256:3c34302871b00649cfd07a37f077403d01999abce16b81c0de6939294dd2faec",
|
|
"sha512:949a741f02af53565e003bd3ff3c9cdcb3e805646c0224c50b8833a1e9aa0f0d049ecd523b4cf973749f5ad92fbc62ee5346d851a0e1726b00d8a817e0d1d233",
|
|
]
|
|
url = "https://github.com/damaki/community-bb-runtimes/releases/download/v15.4.0/embedded-nrf52833-15.4.0.tar.gz"
|
|
|