name = "light_nrf52833"
description = "light runtime for the nRF52833 SoC"
version = "14.1.0"

long-description = """
## Usage

First edit your `alire.toml` file and add the following elements:
 - Add `light_nrf52833` in the dependency list:
   ```toml
   [[depends-on]]
   light_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_build.gpr";
   ```
 - Specify the `Target` and `Runtime` attributes:
   ```ada
      for Target use runtime_build'Target;
      for Runtime ("Ada") use runtime_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/nrf52-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 }

[[depends-on]]
gnat_arm_elf = "^14"

[origin]
hashes = [
"sha256:e18f3f6c6defd146b67f7ad253ab1f7d2393080424462f3692678d8b556e138f",
"sha512:58fe907354f0c2929c96e3b78b7c0d7ba974eace805cfdfd7fdbf940dfabbf5a128d118ceefc720810703b1ac0e283150f08e021ae3c1d9ba6a2cee154261200",
]
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/light-nrf52833-14.1.0.tar.gz"

