diff --git a/va108xx-embassy/CHANGELOG.md b/va108xx-embassy/CHANGELOG.md index d2018c5..b43e318 100644 --- a/va108xx-embassy/CHANGELOG.md +++ b/va108xx-embassy/CHANGELOG.md @@ -7,3 +7,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [unreleased] + +## [v0.1.1] 2025-02-13 + +Docs patch + +## [v0.1.0] 2025-02-13 + +Initial release diff --git a/va108xx-embassy/Cargo.toml b/va108xx-embassy/Cargo.toml index 01cc390..684f653 100644 --- a/va108xx-embassy/Cargo.toml +++ b/va108xx-embassy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "va108xx-embassy" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["Robin Mueller "] description = "Embassy-rs support for the Vorago VA108xx family of microcontrollers" @@ -12,7 +12,6 @@ categories = ["aerospace", "embedded", "no-std", "hardware-support"] [dependencies] critical-section = "1" -portable-atomic = { version = "1", features = ["unsafe-assume-single-core"]} embassy-sync = "0.6" embassy-executor = "0.7" @@ -23,6 +22,11 @@ once_cell = { version = "1", default-features = false, features = ["critical-sec 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] default = ["irq-oc30-oc31"] irqs-in-lib = [] diff --git a/va108xx-embassy/src/lib.rs b/va108xx-embassy/src/lib.rs index 7618dd4..ed9739b 100644 --- a/va108xx-embassy/src/lib.rs +++ b/va108xx-embassy/src/lib.rs @@ -23,7 +23,7 @@ //! //! 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 -//! using the [embassy::embassy_time_driver_irqs] macro to declare the IRQ handlers in the +//! using the [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 //! 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 /// interrupt handlers themselves. /// -/// Please note that you have to explicitely import the [va108xx_hal::pac::interrupt] +/// Please note that you have to explicitely import the [macro@va108xx_hal::pac::interrupt] /// macro in the application code in case this macro is used there. #[macro_export] macro_rules! embassy_time_driver_irqs {