Repository navigation
Load vendor SVD files with whitespace before the XML declaration - #2094
Open
Solarboaters wants to merge 1 commit into
Open
Solarboaters wants to merge 1 commit into
Solarboaters wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GigaDevice.GD32F30x_DFP.2.2.1.pack has two spaces before the XML declaration in all three SVD files. They currently raise
ParseError: XML or text declaration not at start of entity, leaving register descriptions unavailable.Remove only XML whitespace immediately preceding an XML declaration. Preserve the declaration/encoding, document contents and caller-owned streams; other malformed XML still raises. This addresses the SVD-loading failure in #1887 (also reported in #1181), not the separate unknown-board-ID warning.
Validation on Linux/Python 3.12:
No physical probe/board or native Windows validation. AI-assisted implementation and validation.