-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathalire.toml.in
More file actions
64 lines (54 loc) · 2.33 KB
/
Copy pathalire.toml.in
File metadata and controls
64 lines (54 loc) · 2.33 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
52
53
54
55
56
57
58
59
60
61
62
63
64
name = "$(profile_underscored)_$(target)"
description = "$(profile) runtime for the nRF54L series"
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 files:
```ada
$(project_file_withs)
```
- Specify the `Target` and `Runtime` attributes:
```ada
for Target use Runtime_Build'Target;
for Runtime ("Ada") use Runtime_Build'Runtime ("Ada");
```
- specify the `Linker` switches:
```ada
package Linker is
for Switches ("Ada") use Runtime_Build.Linker_Switches & ("-Wl,--gc-sections");
end Linker;
```
Note that the linker switch `-Wl,--gc-sections` is optional, but its use is
recommended since it reduces the final size of the executable by removing
unused code.
"""
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]
output_dir = "gnat_user"
[configuration.variables]
Device = { type = "Enum", values = ["nRF54L05", "nRF54L10", "nRF54L15", "nRF54LS05A", "nRF54LS05B", "nRF54LV10A", "nRF54LM20A", "nRF54LM20B"], default = "nRF54L15" }
MCU_Domain_Speed = { type = "Enum", values = ["CK64M", "CK128M"], default = "CK64M" }
Time_Base_GRTC_IRQ = { type = "Integer", first = 0, last = 3, default = 3 }
Time_Base_GRTC_CCn = { type = "Integer", first = 0, last = 11, default = 11}
Security_Level = { type = "Enum", values = [ "Secure", "Non_Secure" ], default = "Secure" }
LFCLK_Src = { type = "Enum", values = ["LFXO", "LFRC", "LFSYNT"], default = "LFXO" }
Enable_SWO = { type = "Boolean", default = true }
Enable_Trace = { type = "Boolean", default = false }
Enable_Glitch_Detector = { 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"