forked from atsamd-rs/atsamd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upstream finally merged support for SVD features used by the ATSAMD family of parts, so that we don't need my fork any longer. They haven't released this to crates.io yet, but we can still pull it down from master. This commit is large and hard to review because most of it is visual noise. The gist of the changes are: * Point at svd2rust master rather than my fork * Remove a doc warning hack * `is_async_` got renamed to `is_async`... * ... so update pac and hal version numbers * Lots of `const`s for MASK and OFFSET got folded into accessors * `::vcell` got replaced with `vcell` (eg: no colons) * Lost of constant numbers changed from decimal to easier to grok hex
- Loading branch information
Showing
2,855 changed files
with
69,919 additions
and
134,984 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
# Run `rustfmt --config-help` to see available config options. | ||
# Please keep these in alphabetical order. | ||
condense_wildcard_suffixes = true | ||
error_on_line_overflow = false | ||
error_on_unformatted = false | ||
# Too many derives can cause line length limits to be exceeded. rustfmt-nightly | ||
# 0.2.5 doesn't appear to pay attention to this. | ||
merge_derives = false | ||
struct_lit_single_line = true | ||
# Override the Nuclide/Atom default tab spacing. | ||
tab_spaces = 4 | ||
use_field_init_shorthand = true | ||
use_try_shorthand = true | ||
wrap_comments = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "atsamd-hal" | ||
version = "0.5.0" | ||
version = "0.6.0" | ||
authors = ["Wez Furlong <[email protected]>", "Paul Sajna <[email protected]>"] | ||
description = "HAL and Peripheral access API for ATSAMD21 and ATSAMD51 microcontrollers" | ||
keywords = ["no-std", "arm", "cortex-m", "embedded-hal"] | ||
|
@@ -31,27 +31,27 @@ version = "~1.0" | |
# We use a feature named "samdFOO" to pull in the dependency named "atsamdFOO" | ||
[dependencies.atsamd21g18a] | ||
path = "../pac/atsamd21g18a" | ||
version = "~0.4" | ||
version = "~0.5" | ||
optional = true | ||
|
||
[dependencies.atsamd21e18a] | ||
path = "../pac/atsamd21e18a" | ||
version = "~0.4" | ||
version = "~0.5" | ||
optional = true | ||
|
||
[dependencies.atsamd51g19a] | ||
path = "../pac/atsamd51g19a" | ||
version = "~0.4" | ||
version = "~0.5" | ||
optional = true | ||
|
||
[dependencies.atsamd51j19a] | ||
path = "../pac/atsamd51j19a" | ||
version = "~0.4" | ||
version = "~0.5" | ||
optional = true | ||
|
||
[dependencies.atsamd51j20a] | ||
path = "../pac/atsamd51j20a" | ||
version = "~0.4" | ||
version = "~0.5" | ||
optional = true | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "atsamd21e18a" | ||
description = "Peripheral access API for ATSAMD21E18A microcontrollers (generated using svd2rust)" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
authors = ["Wez Furlong <[email protected]>"] | ||
keywords = ["no-std", "arm", "cortex-m"] | ||
license = "MIT OR Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.