Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ attiny84a = ["device-selected"]
attiny85 = ["device-selected"]
attiny861 = ["device-selected"]
attiny88 = ["device-selected"]
attiny1606 = ["device-selected"]
attiny1614 = ["device-selected"]
avr64du32 = ["device-selected"]
avr64du28 = ["device-selected"]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Via the feature you can select which chip you want the register specifications f
| `atmega164pa` | | | | `attiny841` |
| | | | | `attiny84a` |
| | | | | `attiny861` |
| | | | | `attiny1606` |
| | | | | `attiny1614` |
| | | | | `attiny2313` |
| | | | | `attiny2313a` |
Expand Down
1 change: 1 addition & 0 deletions patch/attiny1606.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_svd: ../svd/attiny1606.svd
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is now superfluous due to the build-system changes. If you don't have any other patches to add, please drop the patch/attiny1606.yaml file entirely.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, removed it

6 changes: 6 additions & 0 deletions src/devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ pub mod attiny167 {
include!(concat!(env!("OUT_DIR"), "/pac/attiny167.rs"));
}

/// [ATtiny1606](https://www.microchip.com/wwwproducts/en/ATtiny1606)
#[cfg(feature = "attiny1606")]
pub mod attiny1606 {
include!(concat!(env!("OUT_DIR"), "/pac/attiny1606.rs"));
}

/// [ATtiny1614](https://www.microchip.com/wwwproducts/en/ATtiny1614)
#[cfg(feature = "attiny1614")]
pub mod attiny1614 {
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#![cfg_attr(feature = "atmega88p", doc = "**atmega88p**,")]
#![cfg_attr(feature = "attiny13a", doc = "**attiny13a**,")]
#![cfg_attr(feature = "attiny167", doc = "**attiny167**,")]
#![cfg_attr(feature = "attiny1606", doc = "**attiny1606**,")]
#![cfg_attr(feature = "attiny1614", doc = "**attiny1614**,")]
#![cfg_attr(feature = "attiny202", doc = "**attiny202**,")]
#![cfg_attr(feature = "attiny212", doc = "**attiny212**,")]
Expand Down Expand Up @@ -261,6 +262,7 @@ compile_error!(
* atmega88p
* attiny13a
* attiny167
* attiny1606
* attiny1614
* attiny202
* attiny212
Expand Down Expand Up @@ -345,6 +347,8 @@ pub use crate::devices::atmega88p;
pub use crate::devices::atmega8u2;
#[cfg(feature = "attiny13a")]
pub use crate::devices::attiny13a;
#[cfg(feature = "attiny1606")]
pub use crate::devices::attiny1606;
#[cfg(feature = "attiny1614")]
pub use crate::devices::attiny1614;
#[cfg(feature = "attiny167")]
Expand Down
Loading