Skip to content

Change parsing of the CPU block to have optional mpuPresent and#301

Merged
burrbull merged 1 commit intorust-embedded:masterfrom
xoriath:fpu-and-mpu-is-optional-elements
Apr 2, 2026
Merged

Change parsing of the CPU block to have optional mpuPresent and#301
burrbull merged 1 commit intorust-embedded:masterfrom
xoriath:fpu-and-mpu-is-optional-elements

Conversation

@xoriath
Copy link
Copy Markdown
Contributor

@xoriath xoriath commented Mar 16, 2026

fpuPresent elements

Per the SVD schema; these 2 elements are actually optional. However the documentation page for the schema incorrectly claims them to be required.

Modify the parser to allow these to be optional when parsing.

Fixes #300

@xoriath xoriath requested a review from a team as a code owner March 16, 2026 15:32
@xoriath xoriath force-pushed the fpu-and-mpu-is-optional-elements branch 2 times, most recently from 922869a to 5b31d36 Compare March 16, 2026 17:51
fpuPresent elements

Per the SVD schema; these 2 elements are actually optional. However the
documentation page for the schema incorrectly claims them to be
required.

Modify the parser to allow these to be optional when parsing.

Fixes rust-embedded#300
@xoriath xoriath force-pushed the fpu-and-mpu-is-optional-elements branch from 5b31d36 to e97eeef Compare March 16, 2026 17:51
@burrbull burrbull added this pull request to the merge queue Mar 24, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 24, 2026
@xoriath
Copy link
Copy Markdown
Contributor Author

xoriath commented Apr 2, 2026

What happened to the merge checks ?

@burrbull burrbull added this pull request to the merge queue Apr 2, 2026
Merged via the queue into rust-embedded:master with commit c0798e7 Apr 2, 2026
7 checks passed
@xoriath
Copy link
Copy Markdown
Contributor Author

xoriath commented Apr 2, 2026

Thanks @burrbull !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[svd parser] CPU block incorrectly requires mpuPresent and fpuPresent elements

2 participants