Files
alire-index-community/index/li/light_nrf52840/light_nrf52840-15.4.0.toml
T
2026-05-11 12:34:46 +02:00

60 lines
1.9 KiB
TOML

name = "light_nrf52840"
description = "light runtime for the NRF52840 SoC"
version = "15.4.0"
long-description = """
## Usage
First edit your `alire.toml` file and add the following elements:
- Add `light_nrf52840` in the dependency list:
```toml
[[depends-on]]
light_nrf52840 = "*"
```
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']
[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:95c129cca10fa7c4b8cce2908507f39ee5e7947f6bd6f596646816378a3cf1ed",
"sha512:8ddec5d81c238993f8c12e42c48321c99b0e460c01ddd6cffe8cff82d96d6c73bc8850cf03d308b7909a6bf92435ecc56a35a9ae23092f19a81c0a0b5cc50332",
]
url = "https://github.com/damaki/community-bb-runtimes/releases/download/v15.4.0/light-nrf52840-15.4.0.tar.gz"