Compare commits
1 Commits
va108xx-em
...
8f682b5966
Author | SHA1 | Date | |
---|---|---|---|
8f682b5966 |
@@ -14,8 +14,6 @@ This workspace contains the following released crates:
|
|||||||
crate containing basic low-level register definition.
|
crate containing basic low-level register definition.
|
||||||
- The [`va108xx-hal`](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/va108xx-hal)
|
- The [`va108xx-hal`](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/va108xx-hal)
|
||||||
HAL crate containing higher-level abstractions on top of the PAC register crate.
|
HAL crate containing higher-level abstractions on top of the PAC register crate.
|
||||||
- The [`va108xx-embassy`](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/va108xx-embassy)
|
|
||||||
crate containing support for running the embassy-rs RTOS.
|
|
||||||
- The [`vorago-reb1`](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/vorago-reb1)
|
- The [`vorago-reb1`](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/vorago-reb1)
|
||||||
BSP crate containing support for the REB1 development board.
|
BSP crate containing support for the REB1 development board.
|
||||||
|
|
||||||
|
@@ -15,12 +15,10 @@ num_enum = { version = "0.7", default-features = false }
|
|||||||
static_assertions = "1"
|
static_assertions = "1"
|
||||||
|
|
||||||
[dependencies.va108xx-hal]
|
[dependencies.va108xx-hal]
|
||||||
version = "0.9"
|
path = "../va108xx-hal"
|
||||||
# path = "../va108xx-hal"
|
|
||||||
|
|
||||||
[dependencies.vorago-reb1]
|
[dependencies.vorago-reb1]
|
||||||
version = "0.7"
|
path = "../vorago-reb1"
|
||||||
# path = "../vorago-reb1"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@@ -28,7 +28,7 @@ embassy-executor = { version = "0.7", features = [
|
|||||||
]}
|
]}
|
||||||
|
|
||||||
va108xx-hal = "0.9"
|
va108xx-hal = "0.9"
|
||||||
va108xx-embassy = "0.1"
|
va108xx-embassy = { path = "../../va108xx-embassy", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["ticks-hz-1_000", "va108xx-embassy/irq-oc30-oc31"]
|
default = ["ticks-hz-1_000", "va108xx-embassy/irq-oc30-oc31"]
|
||||||
|
@@ -29,9 +29,7 @@ rtic-monotonics = { version = "2", features = ["cortex-m-systick"] }
|
|||||||
rtic-sync = {version = "1", features = ["defmt-03"]}
|
rtic-sync = {version = "1", features = ["defmt-03"]}
|
||||||
|
|
||||||
[dependencies.va108xx-hal]
|
[dependencies.va108xx-hal]
|
||||||
version = "0.9"
|
path = "../va108xx-hal"
|
||||||
# path = "../va108xx-hal"
|
|
||||||
|
|
||||||
[dependencies.vorago-reb1]
|
[dependencies.vorago-reb1]
|
||||||
version = "0.7"
|
path = "../vorago-reb1"
|
||||||
# path = "../vorago-reb1"
|
|
||||||
|
@@ -7,11 +7,3 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## [unreleased]
|
## [unreleased]
|
||||||
|
|
||||||
## [v0.1.2] and [v0.1.1] 2025-02-13
|
|
||||||
|
|
||||||
Docs patch
|
|
||||||
|
|
||||||
## [v0.1.0] 2025-02-13
|
|
||||||
|
|
||||||
Initial release
|
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "va108xx-embassy"
|
name = "va108xx-embassy"
|
||||||
version = "0.1.2"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
|
||||||
description = "Embassy-rs support for the Vorago VA108xx family of microcontrollers"
|
description = "Embassy-rs support for the Vorago VA108xx family of microcontrollers"
|
||||||
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
@@ -12,6 +11,7 @@ categories = ["aerospace", "embedded", "no-std", "hardware-support"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
critical-section = "1"
|
critical-section = "1"
|
||||||
|
portable-atomic = { version = "1", features = ["unsafe-assume-single-core"]}
|
||||||
|
|
||||||
embassy-sync = "0.6"
|
embassy-sync = "0.6"
|
||||||
embassy-executor = "0.7"
|
embassy-executor = "0.7"
|
||||||
@@ -22,11 +22,6 @@ once_cell = { version = "1", default-features = false, features = ["critical-sec
|
|||||||
|
|
||||||
va108xx-hal = "0.9"
|
va108xx-hal = "0.9"
|
||||||
|
|
||||||
[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
|
|
||||||
portable-atomic = { version = "1", features = ["unsafe-assume-single-core"] }
|
|
||||||
[target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies]
|
|
||||||
portable-atomic = "1"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["irq-oc30-oc31"]
|
default = ["irq-oc30-oc31"]
|
||||||
irqs-in-lib = []
|
irqs-in-lib = []
|
||||||
@@ -37,4 +32,5 @@ irq-oc29-oc30 = ["irqs-in-lib"]
|
|||||||
irq-oc30-oc31 = ["irqs-in-lib"]
|
irq-oc30-oc31 = ["irqs-in-lib"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
rustdoc-args = ["--generate-link-to-definition"]
|
rustdoc-args = ["--generate-link-to-definition"]
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options"
|
|
||||||
cargo +nightly doc --open
|
|
@@ -23,7 +23,7 @@
|
|||||||
//!
|
//!
|
||||||
//! You can disable the default features and then specify one of the features above to use the
|
//! You can disable the default features and then specify one of the features above to use the
|
||||||
//! documented combination of IRQs. It is also possible to specify custom IRQs by importing and
|
//! documented combination of IRQs. It is also possible to specify custom IRQs by importing and
|
||||||
//! using the [embassy_time_driver_irqs] macro to declare the IRQ handlers in the
|
//! using the [embassy::embassy_time_driver_irqs] macro to declare the IRQ handlers in the
|
||||||
//! application code. If this is done, [embassy::init_with_custom_irqs] must be used
|
//! application code. If this is done, [embassy::init_with_custom_irqs] must be used
|
||||||
//! method to pass the IRQ numbers to the library.
|
//! method to pass the IRQ numbers to the library.
|
||||||
//!
|
//!
|
||||||
@@ -63,7 +63,7 @@ time_driver_impl!(
|
|||||||
/// the feature flags specified. However, the macro is exported to allow users to specify the
|
/// the feature flags specified. However, the macro is exported to allow users to specify the
|
||||||
/// interrupt handlers themselves.
|
/// interrupt handlers themselves.
|
||||||
///
|
///
|
||||||
/// Please note that you have to explicitely import the [macro@va108xx_hal::pac::interrupt]
|
/// Please note that you have to explicitely import the [va108xx_hal::pac::interrupt]
|
||||||
/// macro in the application code in case this macro is used there.
|
/// macro in the application code in case this macro is used there.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! embassy_time_driver_irqs {
|
macro_rules! embassy_time_driver_irqs {
|
||||||
|
Reference in New Issue
Block a user