Skip to content

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

Open
xoriath wants to merge 1 commit intorust-embedded:masterfrom
xoriath:fpu-and-mpu-is-optional-elements
Open

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

Conversation

@xoriath
Copy link

@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
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