Skip to content

Commit

Permalink
Release 1.0.0 for a couple embedded crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-Chouteau committed Oct 24, 2024
1 parent 3877e20 commit 6eee910
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 0 deletions.
19 changes: 19 additions & 0 deletions index/at/atomic/atomic-1.0.0.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name = "atomic"
description = "Standalone Ada/SPARK bindings to GCC atomic built-ins"
version = "1.0.0"

licenses = "MIT"
authors = ["Fabien Chouteau"]
maintainers = ["Fabien Chouteau <[email protected]>"]
maintainers-logins = ["Fabien-Chouteau"]
website = "https://github.com/Fabien-Chouteau/atomic"
tags = ["atomic", "spark", "embedded", "nostd"]

[configuration.variables]
Backend = {type = "Enum", values = ["Intrinsic", "armv6m", "rp2040_spinlock"], default = "Intrinsic"}
RP2040_Spinlock_ID = {type = "Integer", first = 0, last = 31, default = 31 }

[origin]
commit = "de36e4a83a15f8b158c0d390a343c5da80499894"
url = "git+https://github.com/Fabien-Chouteau/atomic.git"

25 changes: 25 additions & 0 deletions index/bb/bbqueue/bbqueue-1.0.0.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name = "bbqueue"
description = "DMA friendly lock-free BipBuffer"
version = "1.0.0"

licenses = "MIT"
authors = ["Fabien Chouteau"]
maintainers = ["Fabien Chouteau <[email protected]>"]
maintainers-logins = ["Fabien-Chouteau"]
tags = ["spark", "nostd", "embedded", "lockfree", "dma", "bipbuffer"]
website = "https://github.com/Fabien-Chouteau/bbqueue-spark"

long-description = """An Ada/SPARK proved implementation of James Munns'
BBQueue (https://github.com/jamesmunns/bbqueue)"""

[build-switches]
release.runtime_checks = "none"

[[depends-on]]
atomic = "^1.0.0"
gnat = ">=10"

[origin]
commit = "f508818cae5c23e45864e19c618fe2b1dc7c6362"
url = "git+https://github.com/Fabien-Chouteau/bbqueue-spark.git"

34 changes: 34 additions & 0 deletions index/co/cortex_m/cortex_m-1.0.0.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
description = "Drivers for Cortex-M micro-controllers (NVIC, SysTick, etc.)"
long-description = '''# cortex-m
Ada drivers for the peripherals of ARM Cortex-M micro-controllers
(NVIC,\nSysTick, etc.)
This crate is a snapshot of the `Cortex-M` support in [Ada Drivers
Library](https://github.com/AdaCore/Ada_Drivers_Library/tree/master/arch/ARM/cortex_m).
Any bug report, issue, contribution must be adressed to the [Ada Drivers
Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo.
'''

name = "cortex_m"
version = "1.0.0"
licenses = "BSD-3-Clause"
authors=["AdaCore"]
website="https://github.com/AdaCore/Ada_Drivers_Library/"
maintainers = ["[email protected]"]
maintainers-logins = ["Fabien-Chouteau"]
tags = ["embedded", "arm", "nostd"]

[[depends-on]]
hal = "^1.0.0"
gnat_arm_elf = ">=12"

[configuration.variables]
core = { type = "Enum", values = ["m0", "m0p", "m4", "m4f", "m7f", "m7df"] }

[origin]
commit = "028b1d7accd902a7cff4703d92c317385973f8e6"
url = "git+https://github.com/Fabien-Chouteau/cortex-m.git"

27 changes: 27 additions & 0 deletions index/ha/hal/hal-1.0.0.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
description = "Hardware Abstraction Layer (HAL)"

long-description = '''# hal
Hardware Abstraction Layer: interfaces definitions to abstract access to common
hardware devices and protocols
This crate is a snapshot of the `hal` in [Ada Drivers
Library](https://github.com/AdaCore/Ada_Drivers_Library/tree/master/hal/src).
Any bug report, issue, contribution must be adressed to the [Ada Drivers
Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo.
'''

name = "hal"
version = "1.0.0"
licenses = "BSD-3-Clause"
maintainers = ["[email protected]"]
maintainers-logins = ["Fabien-Chouteau"]
project-files = ["hal.gpr"]
tags = ["embedded", "hal", "nostd"]

[origin]
commit = "084c64129b8993181d4078397bf022c7ea886c79"
url = "git+https://github.com/Fabien-Chouteau/hal.git"

25 changes: 25 additions & 0 deletions index/us/usb_embedded/usb_embedded-1.0.0.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name = "usb_embedded"
description = "An Ada USB stack for embedded devices"
version = "1.0.0"

authors = ["Fabien Chouteau"]
maintainers = ["Fabien Chouteau <[email protected]>"]
maintainers-logins = ["Fabien-Chouteau"]
website = "https://github.com/Fabien-Chouteau/usb_embedded"
licenses = "BSD-3-Clause"
tags = ["embedded", "usb", "hid", "midi", "nostd"]

[[depends-on]]
hal = "^1.0.0"
bbqueue = "^1.0.0"

[configuration.variables]
Control_Buffer_Size = {type = "Integer", first = 256, default = 256 }
String_Buffer_Size = {type = "Integer", first = 0, default = 256 }
Max_Strings = {type = "Integer", first = 0, default = 10 }
Event_Log_Buffer_Size = {type = "Integer", first = 0, default = 0 }

[origin]
commit = "90f49045c6492735bb54681f997d74510a10f38a"
url = "git+https://github.com/Fabien-Chouteau/usb_embedded.git"

0 comments on commit 6eee910

Please sign in to comment.