-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathalire.toml.in
More file actions
51 lines (42 loc) · 1.69 KB
/
Copy pathalire.toml.in
File metadata and controls
51 lines (42 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name = "$(profile_underscored)_$(target)"
description = "$(profile) runtime for the $(pretty_target) SoC"
version = "$(version)"
long-description = """
## Usage
First edit your `alire.toml` file and add the following elements:
- Add `$(profile_underscored)_$(target)` in the dependency list:
```toml
[[depends-on]]
$(profile_underscored)_$(target) = "*"
```
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 = $(project_files_list)
[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"