File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ This changelog tracks the Rust `svdtools` project. See
55
66## [ Unreleased]
77
8+ ## [ v0.2.1] 2022-02-12
9+
10+ * Use ` svd-encoder ` 0.13.1
11+ * Remove register ` access ` if empty
12+
813## [ v0.2.0] 2022-01-15
914
1015* Use ` svd-parser ` 0.13.1
@@ -17,6 +22,7 @@ This changelog tracks the Rust `svdtools` project. See
1722
1823* Initial release with feature-parity with the Python project.
1924
20- [ Unreleased ] : https://github.com/stm32-rs/stm32-rs/compare/v0.2.0...HEAD
25+ [ Unreleased ] : https://github.com/stm32-rs/stm32-rs/compare/v0.2.1...HEAD
26+ [ v0.2.1 ] : https://github.com/stm32-rs/svdtools/compare/v0.2.0...v0.2.1
2127[ v0.2.0 ] : https://github.com/stm32-rs/svdtools/compare/35c3a79...v0.2.0
2228[ v0.1.0 ] : https://github.com/stm32-rs/svdtools/pull/84
Original file line number Diff line number Diff line change 11[package ]
22name = " svdtools"
3- version = " 0.2.0 "
3+ version = " 0.2.1 "
44repository = " https://github.com/stm32-rs/svdtools"
55description = " Tool for modifying bugs in CMSIS SVD"
66authors = [
@@ -27,9 +27,9 @@ edition = "2021"
2727clap = { version = " 3.0" , features = [" derive" ] }
2828serde = { version = " 1.0" , features = [" derive" ] }
2929quick-xml = { version = " 0.18" , features = [" serialize" ] }
30- svd-rs = { version = " 0.13.0 " , features = [" serde" ] }
30+ svd-rs = { version = " 0.13.1 " , features = [" serde" ] }
3131svd-parser = " 0.13.1"
32- svd-encoder = " 0.13.0 "
32+ svd-encoder = " 0.13.1 "
3333yaml-rust = " 0.4"
3434serde_yaml = " 0.8.23"
3535serde_json = { version = " 1.0" , features = [" preserve_order" ] }
Original file line number Diff line number Diff line change @@ -317,6 +317,9 @@ impl PeripheralExt for Peripheral {
317317 fn modify_register ( & mut self , rspec : & str , rmod : & Hash ) -> PatchResult {
318318 for rtag in self . iter_registers ( rspec) {
319319 rtag. modify_from ( make_register ( rmod) ?, VAL_LVL ) ?;
320+ if let Some ( "" ) = rmod. get_str ( "access" ) ? {
321+ rtag. properties . access = None ;
322+ }
320323 }
321324 Ok ( ( ) )
322325 }
You can’t perform that action at this time.
0 commit comments