Skip to content

Commit 43f730d

Browse files
committed
v0.8.1
1 parent 60cff79 commit 43f730d

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.8.1] - 2017-05-30
11+
12+
### Changed
13+
14+
- The generated crate's documentation now points to svd2rust's documentation
15+
about the peripheral API.
16+
1017
## [v0.8.0] - 2017-05-29
1118

1219
### Added
@@ -205,7 +212,8 @@ peripheral.register.write(|w| w.field().set());
205212

206213
- Initial version of the `svd2rust` tool
207214

208-
[Unreleased]: https://github.com/japaric/svd2rust/compare/v0.8.0...HEAD
215+
[Unreleased]: https://github.com/japaric/svd2rust/compare/v0.8.1...HEAD
216+
[v0.8.1]: https://github.com/japaric/svd2rust/compare/v0.8.0...v0.8.1
209217
[v0.8.0]: https://github.com/japaric/svd2rust/compare/v0.7.2...v0.8.0
210218
[v0.7.2]: https://github.com/japaric/svd2rust/compare/v0.7.1...v0.7.2
211219
[v0.7.1]: https://github.com/japaric/svd2rust/compare/v0.7.0...v0.7.1

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["arm", "cortex-m", "register", "map", "generator"]
88
license = "MIT OR Apache-2.0"
99
name = "svd2rust"
1010
repository = "https://github.com/japaric/svd2rust"
11-
version = "0.8.0"
11+
version = "0.8.1"
1212

1313
[dependencies]
1414
cast = "0.2.0"

src/generate.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ use util::{self, ToSanitizedPascalCase, ToSanitizedSnakeCase, U32Ext};
1414
/// Whole device generation
1515
pub fn device(d: &Device, items: &mut Vec<Tokens>) -> Result<()> {
1616
let doc = format!(
17-
"Peripheral access API for {} microcontrollers \
18-
(generated using svd2rust v{})",
17+
"Peripheral access API for {0} microcontrollers \
18+
(generated using svd2rust v{1})\n\n\
19+
You can find an overview of the API [here].\n\n\
20+
[here]: https://docs.rs/svd2rust/{1}/svd2rust/#peripheral-api",
1921
d.name.to_uppercase(),
2022
env!("CARGO_PKG_VERSION")
2123
);

0 commit comments

Comments
 (0)