Commit e774b98
Merge #216
216: svd-encoder: fix device node 'headerDefinitionsPrefix' r=burrbull a=lucab
This fixes a typo when encoding the `headerDefinitionsPrefix` node in a device, which otherwise results in an invalid XML generated by `svdtools patch`:
```
$ xmllint --schema svd/cmsis-svd.xsd --noout svd/lpc1342.svd.patched
svd/lpc1342.svd.patched:15: element header_definitions_prefix:
Schemas validity error : Element 'header_definitions_prefix':
This element is not expected.
Expected is one of ( headerSystemFilename, headerDefinitionsPrefix, addressUnitBits )
```
Ref: lpc-rs/lpc-pac#77
Co-authored-by: Luca BRUNO <lucab@lucabruno.net>
Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>File tree
3 files changed
+3
-2
lines changed- svd-encoder/src
- svd-parser/src
- svd-rs/src
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments