Skip to content

Commit

Permalink
Fix support for ATmega88p
Browse files Browse the repository at this point in the history
In commit ad3e823 ("Add support for ATmega88P") some of the changes
that are needed for support of a new platform were not actually added.

Add the remaining changes to properly enable ATmega88P support.

Fixes: ad3e823 ("Add support for ATmega88P")
  • Loading branch information
blueberry-fan authored Dec 2, 2024
1 parent 5a58673 commit 6777522
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/devices/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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**,")]
Expand Down Expand Up @@ -70,6 +71,7 @@
//! `atmega48p`,
//! `atmega64`,
//! `atmega644`,
//! `atmega88p`,
//! `attiny13a`,
//! `attiny167`,
//! `attiny1614`,
Expand Down Expand Up @@ -233,6 +235,7 @@ compile_error!(
* atmega644
* atmega8
* atmega8u2
* atmega88p
* attiny13a
* attiny167
* attiny1614
Expand Down Expand Up @@ -298,6 +301,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")]
Expand Down

0 comments on commit 6777522

Please sign in to comment.