Skip to content

Commit

Permalink
Added deps for 3208/9
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharytomlinson committed Oct 17, 2024
1 parent 8fc5407 commit a8635de
Show file tree
Hide file tree
Showing 9 changed files with 4,897 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ atmega8u2 = ["device-selected"]
atmega324pa = ["device-selected"]
atmega328p = ["device-selected"]
atmega328pb = ["device-selected"]
atmega3208 = ["device-selected"]
atmega3209 = ["device-selected"]
atmega4808 = ["device-selected"]
atmega4809 = ["device-selected"]
atmega48p = ["device-selected"]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: deps chips

CHIPS := at90usb1286 atmega1280 atmega1284p atmega128a atmega128rfa1 atmega16 atmega164pa atmega168 atmega16u2 atmega2560 atmega8 atmega8u2 atmega324pa atmega328p atmega328pb atmega32a atmega32u2 atmega32u4 atmega4808 atmega4809 atmega48p atmega64 atmega644 atmega88p attiny13a attiny202 attiny2313 attiny2313a attiny26 attiny402 attiny404 attiny44a attiny84 attiny85 attiny88 attiny816 attiny828 attiny841 attiny84a attiny861 attiny167 attiny1614 avr64du32 avr64du28
CHIPS := at90usb1286 atmega1280 atmega1284p atmega128a atmega128rfa1 atmega16 atmega164pa atmega168 atmega16u2 atmega2560 atmega8 atmega8u2 atmega324pa atmega328p atmega328pb atmega32a atmega32u2 atmega32u4 atmega3208 atmega3209 atmega4808 atmega4809 atmega48p atmega64 atmega644 atmega88p attiny13a attiny202 attiny2313 attiny2313a attiny26 attiny402 attiny404 attiny44a attiny84 attiny85 attiny88 attiny816 attiny828 attiny841 attiny84a attiny861 attiny167 attiny1614 avr64du32 avr64du28

RUSTUP_TOOLCHAIN ?= nightly

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Via the feature you can select which chip you want the register specifications f

| ATmega | ATmega USB | ATmega 0,1 Series | AT90 | ATtiny |
|:---------------:|:------------:|:-----------------:|:-------------:|:-------------:|
| `atmega8` | `atmega8u2` | `atmega4808` | `at90usb1286` | `attiny13a` |
| `atmega48p` | `atmega16u2` | `atmega4809` | | `attiny167` |
| `atmega64` | `atmega32u2` | | | `attiny202` |
| `atmega644` | `atmega32u4` | | | `attiny402` |
| `atmega8` | `atmega8u2` | `atmega3208` | `at90usb1286` | `attiny13a` |
| `atmega48p` | `atmega16u2` | `atmega3209` | | `attiny167` |
| `atmega64` | `atmega32u2` | `atmega4808` | | `attiny202` |
| `atmega644` | `atmega32u4` | `atmega4809` | | `attiny402` |
| `atmega88p` | `avr64du32` | | | `attiny404` |
| `atmega16` | `avr64du28` | | | `attiny44a` |
| `atmega168` | | | | `attiny84` |
Expand Down
1 change: 1 addition & 0 deletions patch/atmega3208.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_svd: ../svd/atmega3208.svd
1 change: 1 addition & 0 deletions patch/atmega3209.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_svd: ../svd/atmega3209.svd
8 changes: 8 additions & 0 deletions src/devices/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ pub mod atmega32u2;
#[cfg(feature = "atmega32u4")]
pub mod atmega32u4;

/// [ATmega3208](https://www.microchip.com/wwwproducts/en/ATmega3208)
#[cfg(feature = "atmega3208")]
pub mod atmega3208;

/// [ATmega3209](https://www.microchip.com/wwwproducts/en/ATmega3209)
#[cfg(feature = "atmega3209")]
pub mod atmega3209;

/// [ATmega4808](https://www.microchip.com/wwwproducts/en/ATmega4808)
#[cfg(feature = "atmega4808")]
pub mod atmega4808;
Expand Down
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#![cfg_attr(feature = "atmega32a", doc = "**atmega32a**,")]
#![cfg_attr(feature = "atmega32u2", doc = "**atmega32u2**,")]
#![cfg_attr(feature = "atmega32u4", doc = "**atmega32u4**,")]
#![cfg_attr(feature = "atmega3208", doc = "**atmega3208**,")]
#![cfg_attr(feature = "atmega3209", doc = "**atmega3209**,")]
#![cfg_attr(feature = "atmega4808", doc = "**atmega4808**,")]
#![cfg_attr(feature = "atmega4809", doc = "**atmega4809**,")]
#![cfg_attr(feature = "atmega48p", doc = "**atmega48p**,")]
Expand Down Expand Up @@ -69,6 +71,8 @@
//! `atmega32a`
//! `atmega32u2`,
//! `atmega32u4`,
//! `atmega3208`,
//! `atmega3209`,
//! `atmega4808`,
//! `atmega4809`,
//! `atmega48p`,
Expand Down Expand Up @@ -296,6 +300,10 @@ pub use crate::devices::atmega32a;
pub use crate::devices::atmega32u2;
#[cfg(feature = "atmega32u4")]
pub use crate::devices::atmega32u4;
#[cfg(feature = "atmega3208")]
pub use crate::devices::atmega3208;
#[cfg(feature = "atmega3209")]
pub use crate::devices::atmega3209;
#[cfg(feature = "atmega4808")]
pub use crate::devices::atmega4808;
#[cfg(feature = "atmega4809")]
Expand Down
2,397 changes: 2,397 additions & 0 deletions vendor/atmega3208.atdf

Large diffs are not rendered by default.

2,475 changes: 2,475 additions & 0 deletions vendor/atmega3209.atdf

Large diffs are not rendered by default.

0 comments on commit a8635de

Please sign in to comment.