From 0afd81da3ac79455ae39598ec78262645c511987 Mon Sep 17 00:00:00 2001 From: stefan Date: Sun, 1 Dec 2024 10:06:28 +0100 Subject: [PATCH 1/3] support atmega88p --- src/devices/mod.rs | 4 ++++ src/lib.rs | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/devices/mod.rs b/src/devices/mod.rs index 7575027..7a498e1 100644 --- a/src/devices/mod.rs +++ b/src/devices/mod.rs @@ -87,6 +87,10 @@ pub mod atmega64; #[cfg(feature = "atmega644")] pub mod atmega644; +/// [ATmega88P](https://www.microchip.com/wwwproducts/en/ATmega88P) +#[cfg(feature = "atmega88p")] +pub mod atmega88p; + /// [ATtiny13A](https://www.microchip.com/wwwproducts/en/ATtiny13A) #[cfg(feature = "attiny13a")] pub mod attiny13a; diff --git a/src/lib.rs b/src/lib.rs index 0ae4acd..74059ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,6 +21,7 @@ #![cfg_attr(feature = "atmega48p", doc = "**atmega48p**,")] #![cfg_attr(feature = "atmega64", doc = "**atmega64**,")] #![cfg_attr(feature = "atmega644", doc = "**atmega644**,")] +#![cfg_attr(feature = "atmega88p", doc = "**atmega88p**,")] #![cfg_attr(feature = "attiny13a", doc = "**attiny13a**,")] #![cfg_attr(feature = "attiny167", doc = "**attiny167**,")] #![cfg_attr(feature = "attiny1614", doc = "**attiny1614**,")] @@ -69,6 +70,7 @@ //! `atmega48p`, //! `atmega64`, //! `atmega644`, +//! `atmega88p`, //! `attiny13a`, //! `attiny167`, //! `attiny1614`, @@ -231,6 +233,7 @@ compile_error!( * atmega644 * atmega8 * atmega8u2 + * atmega88p * attiny13a * attiny167 * attiny1614 @@ -295,6 +298,8 @@ pub use crate::devices::atmega64; pub use crate::devices::atmega644; #[cfg(feature = "atmega8")] pub use crate::devices::atmega8; +#[cfg(feature = "atmega88p")] +pub use crate::devices::atmega88p; #[cfg(feature = "atmega8u2")] pub use crate::devices::atmega8u2; #[cfg(feature = "attiny13a")] From 0f27f6bb392e707142f395099b0a8c07a66c0c65 Mon Sep 17 00:00:00 2001 From: stefan Date: Sun, 1 Dec 2024 10:11:05 +0100 Subject: [PATCH 2/3] merge upstream --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f60696b..de28668 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,6 +82,6 @@ ufmt = { version = "0.2.0", optional = true } critical-section = { version = "1.1.1", optional = true } [dependencies.avr-device-macros] -path = "macros/" +path = "macros" version = "=0.6.0" optional = true From b0116e8f88da5ac57d9780a6165551a30f80d9b3 Mon Sep 17 00:00:00 2001 From: stefan Date: Sun, 1 Dec 2024 10:31:46 +0100 Subject: [PATCH 3/3] Revert "merge upstream" This reverts commit 0f27f6bb392e707142f395099b0a8c07a66c0c65. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index de28668..f60696b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,6 +82,6 @@ ufmt = { version = "0.2.0", optional = true } critical-section = { version = "1.1.1", optional = true } [dependencies.avr-device-macros] -path = "macros" +path = "macros/" version = "=0.6.0" optional = true