File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ This changelog tracks the Rust `svdtools` project. See
55
66## [ Unreleased]
77
8+ ## [ v0.4.2] 2025-01-25
9+
10+ * Fix optional ` fspec ` in ` set_field_modified_write_values `
11+
812## [ v0.4.1] 2025-01-21
913
1014* ` html ` : field ` readAction ` and ` modifiedWriteValues ` in ` access `
@@ -205,7 +209,8 @@ Other changes:
205209
206210* Initial release with feature-parity with the Python project.
207211
208- [ Unreleased ] : https://github.com/rust-embedded/svdtools/compare/v0.4.1...HEAD
212+ [ Unreleased ] : https://github.com/rust-embedded/svdtools/compare/v0.4.2...HEAD
213+ [ v0.4.2 ] : https://github.com/rust-embedded/svdtools/compare/v0.4.1...v0.4.2
209214[ v0.4.1 ] : https://github.com/rust-embedded/svdtools/compare/v0.4.0...v0.4.1
210215[ v0.4.0 ] : https://github.com/rust-embedded/svdtools/compare/v0.3.21...v0.4.0
211216[ v0.3.21 ] : https://github.com/rust-embedded/svdtools/compare/v0.3.20...v0.3.21
Original file line number Diff line number Diff line change 11[package ]
22name = " svdtools"
3- version = " 0.4.1 "
3+ version = " 0.4.2 "
44repository = " https://github.com/rust-embedded/svdtools/"
55description = " Tool for modifying bugs in CMSIS SVD"
66authors = [
" Andrey Zgarbul <[email protected] >" ,
" MarcoIeni" ]
Original file line number Diff line number Diff line change @@ -711,12 +711,14 @@ impl RegisterExt for Register {
711711 }
712712
713713 fn set_field_read_action ( & mut self , fspec : & str , action : ReadAction ) {
714+ let ( fspec, _) = fspec. spec ( ) ;
714715 for ftag in self . iter_fields ( fspec) {
715716 ftag. read_action = Some ( action) ;
716717 }
717718 }
718719
719720 fn set_field_modified_write_values ( & mut self , fspec : & str , mwv : ModifiedWriteValues ) {
721+ let ( fspec, _) = fspec. spec ( ) ;
720722 for ftag in self . iter_fields ( fspec) {
721723 ftag. modified_write_values = if mwv == ModifiedWriteValues :: Modify {
722724 None
You can’t perform that action at this time.
0 commit comments