From a058b69169e6d59f6d64e5aa8656f65ce1109786 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 14 Feb 2025 15:56:00 +0100 Subject: [PATCH] some fixes --- va108xx/Cargo.toml | 1 + va108xx/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/va108xx/Cargo.toml b/va108xx/Cargo.toml index 6504367..0015e46 100644 --- a/va108xx/Cargo.toml +++ b/va108xx/Cargo.toml @@ -13,6 +13,7 @@ categories = ["embedded", "no-std", "hardware-support"] [dependencies] cortex-m = "0.7" vcell = "0.1.3" +defmt = "0.3" critical-section = { version = "1", optional = true } [dependencies.cortex-m-rt] diff --git a/va108xx/src/lib.rs b/va108xx/src/lib.rs index 2e66f9e..60456d2 100644 --- a/va108xx/src/lib.rs +++ b/va108xx/src/lib.rs @@ -3,6 +3,8 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![no_std] +// Manually inserted. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use core::marker::PhantomData; use core::ops::Deref; #[doc = r"Number available in the NVIC for configuring priority"]