57 lines
1.7 KiB
TOML
57 lines
1.7 KiB
TOML
name = "embedded_nrf52832"
|
|
description = "embedded runtime for the nRF52832 SoC"
|
|
version = "15.0.1"
|
|
|
|
long-description = """
|
|
## Usage
|
|
|
|
First edit your `alire.toml` file and add the following elements:
|
|
- Add `embedded_nrf52832` in the dependency list:
|
|
```toml
|
|
[[depends-on]]
|
|
embedded_nrf52832 = "*"
|
|
```
|
|
|
|
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 "ravenscar_build.gpr";
|
|
```
|
|
- Specify the `Target` and `Runtime` attributes:
|
|
```ada
|
|
for Target use ravenscar_build'Target;
|
|
for Runtime ("Ada") use ravenscar_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', '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 }
|
|
|
|
[[depends-on]]
|
|
gnat_arm_elf = "^15"
|
|
|
|
[origin]
|
|
hashes = [
|
|
"sha256:2e0886be33f99b8790a54143fb18337899a8cb5a97c326d2372305ded3043b47",
|
|
"sha512:f41a176951dc685be814392ddf9f10a6c2145aa774b7e0ef8ed7389bdf0a0c10dffd1efa42fb502c1a9e89cd6432f2f959dd59192f3349f59b76f09f8ce9c07e",
|
|
]
|
|
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v15.0.1/embedded-nrf52832-15.0.1.tar.gz"
|
|
|