-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nrf52-runtimes 14.1.0 #1318
nrf52-runtimes 14.1.0 #1318
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name = "embedded_nrf52832" | ||
description = "embedded runtime for the nRF52832 SoC" | ||
version = "14.1.0" | ||
|
||
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 "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 <[email protected]>"] | ||
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 = "^14" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if you might prefer ">=14". Although later GNAT versions might break something, this way you're anchoring all your clients to GNAT 14. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. My understanding is that the runtimes are generally tied to a particular GNAT version, and later GNAT versions might break something as you say, since the compiler/runtime interface could change with diffferent GNAT versions. My plan is to do one major release of these runtimes for each GNAT version. This version (14.1.0) is compatible with gnat-fsf-14. When gnat-fsf-15 is released then I'll do a 15.0.0, and I'm going to try doing releases for earlier GNAT versions too; this version is just the first attempt. This way users can either let the GNAT version be chosen automatically: [[depends-on]]
light_nrf52840 = ">=14" or let the runtime version be chosen automatically: [[depends-on]]
gnat_arm_elf = ">=14"
light_nrf52840 = "*" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indeed, a given run-time can be strongly tied to a compiler version. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I didn't know this info about runtimes, I was only thinking of checks that find new errors. Then it must be like you have done it. |
||
|
||
[origin] | ||
hashes = [ | ||
"sha256:50faca4dc127ac601ca8f6c4340ef07c48ca9e839ea25244489c39193ea163aa", | ||
"sha512:30c3c6723fdc3f2cfa2850c30c1cc3950abf16b85b6e4f35409eb72ff01c11b289cecfcd62a9ee0f1a9136253d36594842e549d157088aefb42a6c054c91917a", | ||
] | ||
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/embedded-nrf52832-14.1.0.tar.gz" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name = "embedded_nrf52833" | ||
description = "embedded runtime for the nRF52833 SoC" | ||
version = "14.1.0" | ||
|
||
long-description = """ | ||
## Usage | ||
|
||
First edit your `alire.toml` file and add the following elements: | ||
- Add `embedded_nrf52833` in the dependency list: | ||
```toml | ||
[[depends-on]] | ||
embedded_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 <[email protected]>"] | ||
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 = "^14" | ||
|
||
[origin] | ||
hashes = [ | ||
"sha256:b6606ac64e71de87df04fdc1c3d59a382b73c0983c37dd09a79fe9d6cc3dacb2", | ||
"sha512:d64aa7673b171537d0dace105048d3845a960d0ac9d22ed1f8b4fcec58634376bf53fbf3961f6435fa6e640b58ea4b371bf2f8da714490ef3e6f773180f0f82c", | ||
] | ||
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/embedded-nrf52833-14.1.0.tar.gz" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name = "embedded_nrf52840" | ||
description = "embedded runtime for the nRF52840 SoC" | ||
version = "14.1.0" | ||
|
||
long-description = """ | ||
## Usage | ||
|
||
First edit your `alire.toml` file and add the following elements: | ||
- Add `embedded_nrf52840` in the dependency list: | ||
```toml | ||
[[depends-on]] | ||
embedded_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_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 <[email protected]>"] | ||
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 = "^14" | ||
|
||
[origin] | ||
hashes = [ | ||
"sha256:d2b55469dd3e3945164ad671524c066f4286b496b39663a79b45a3d3cdf85977", | ||
"sha512:d3e0d9df65d18b9c496ef34669d306ad73164cf8d145eefaa89931dc0ab0efd0135db993d049e117d16c54857fdb5600bcd31f1536c2dc260a6f6be2ff8e2a57", | ||
] | ||
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/embedded-nrf52840-14.1.0.tar.gz" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name = "light_nrf52832" | ||
description = "light runtime for the nRF52832 SoC" | ||
version = "14.1.0" | ||
|
||
long-description = """ | ||
## Usage | ||
|
||
First edit your `alire.toml` file and add the following elements: | ||
- Add `light_nrf52832` in the dependency list: | ||
```toml | ||
[[depends-on]] | ||
light_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 "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 <[email protected]>"] | ||
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:4dee01ccce68ba7bb26755e2bafaf3c112e55c6248077de14af33d3c1566185c", | ||
"sha512:5fa4b4bff1b9326007749c2db754845a09060458c7312f6891a8520273f9d9bbff546c3640fd9d53fdf5e892d4271fa23ad8d65df98ee9f77d16a5e60f3244d0", | ||
] | ||
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/light-nrf52832-14.1.0.tar.gz" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
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 <[email protected]>"] | ||
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" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name = "light_nrf52840" | ||
description = "light runtime for the nRF52840 SoC" | ||
version = "14.1.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_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 <[email protected]>"] | ||
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:176f9a986d560bd2b1a97de7780814f46e5d014efefc22988b8d8e27fe277722", | ||
"sha512:a2a7e519a7bddddbdad9242891bb03b35d225fc4a26ab438dccd29f163ac92aabc1fca9a7aaf04b1e4f67f0bac0ba821de19f54ed0831acaa125c8ab4f87d6f9", | ||
] | ||
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/light-nrf52840-14.1.0.tar.gz" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name = "light_tasking_nrf52832" | ||
description = "light-tasking runtime for the nRF52832 SoC" | ||
version = "14.1.0" | ||
|
||
long-description = """ | ||
## Usage | ||
|
||
First edit your `alire.toml` file and add the following elements: | ||
- Add `light_tasking_nrf52832` in the dependency list: | ||
```toml | ||
[[depends-on]] | ||
light_tasking_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 "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 <[email protected]>"] | ||
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 = "^14" | ||
|
||
[origin] | ||
hashes = [ | ||
"sha256:14b90776789f9fb295f58f0d25b2260d09675bb8ab67cbb8581fdd040be25022", | ||
"sha512:0d79c5724fd2a6375e2d20f237a4f317ce337781c814f328459935fa5c7ff313b59d211df4115220bc6fc4cefff627873dd50621f4bce71f451a1e64235e3a3c", | ||
] | ||
url = "https://github.com/damaki/nrf52-runtimes/releases/download/v14.1.0/light-tasking-nrf52832-14.1.0.tar.gz" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another clarification for my peace of mind: if you specify two project files, both will always be built by dependents. If those represent alternatives, they should go in separate crates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying that. This is the intended behaviour (that both will be built).
The two project files are really just a consequence of how the runtimes are organised where it's split into 2 libraries: libgnat (built by runtime_build.gpr) for the sequential stuff, and libgnarl (built by ravenscar_build.gpr) for the tasking stuff. The light runtimes don't support tasking, so only provide libgnat (so the light_nrfxxx runtimes only build runtime_build.gpr), whereas light-tasking and embedded provide both libgnat and libgnarl (so both projects are built for those runtimes).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thanks. Then I think this is ready to be merged.