Skip to content

Commit e9ec01f

Browse files
committed
Merge pull request 'doc fixes' (#48) from va108xx-embassy-doc-fix into main
Reviewed-on: https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/pulls/48
2 parents df4e943 + d57cd38 commit e9ec01f

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

Diff for: va108xx-embassy/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
77
and this project adheres to [Semantic Versioning](http://semver.org/).
88

99
## [unreleased]
10+
11+
## [v0.1.1] 2025-02-13
12+
13+
Docs patch
14+
15+
## [v0.1.0] 2025-02-13
16+
17+
Initial release

Diff for: va108xx-embassy/Cargo.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "va108xx-embassy"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
authors = ["Robin Mueller <[email protected]>"]
66
description = "Embassy-rs support for the Vorago VA108xx family of microcontrollers"
@@ -12,7 +12,6 @@ categories = ["aerospace", "embedded", "no-std", "hardware-support"]
1212

1313
[dependencies]
1414
critical-section = "1"
15-
portable-atomic = { version = "1", features = ["unsafe-assume-single-core"]}
1615

1716
embassy-sync = "0.6"
1817
embassy-executor = "0.7"
@@ -23,6 +22,11 @@ once_cell = { version = "1", default-features = false, features = ["critical-sec
2322

2423
va108xx-hal = "0.9"
2524

25+
[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
26+
portable-atomic = { version = "1", features = ["unsafe-assume-single-core"] }
27+
[target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies]
28+
portable-atomic = "1"
29+
2630
[features]
2731
default = ["irq-oc30-oc31"]
2832
irqs-in-lib = []

Diff for: va108xx-embassy/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//!
2424
//! You can disable the default features and then specify one of the features above to use the
2525
//! documented combination of IRQs. It is also possible to specify custom IRQs by importing and
26-
//! using the [embassy::embassy_time_driver_irqs] macro to declare the IRQ handlers in the
26+
//! using the [embassy_time_driver_irqs] macro to declare the IRQ handlers in the
2727
//! application code. If this is done, [embassy::init_with_custom_irqs] must be used
2828
//! method to pass the IRQ numbers to the library.
2929
//!
@@ -63,7 +63,7 @@ time_driver_impl!(
6363
/// the feature flags specified. However, the macro is exported to allow users to specify the
6464
/// interrupt handlers themselves.
6565
///
66-
/// Please note that you have to explicitely import the [va108xx_hal::pac::interrupt]
66+
/// Please note that you have to explicitely import the [macro@va108xx_hal::pac::interrupt]
6767
/// macro in the application code in case this macro is used there.
6868
#[macro_export]
6969
macro_rules! embassy_time_driver_irqs {

0 commit comments

Comments
 (0)