-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpu/rpx0xx: Update vendor header files
Generated new vendor header files from upstream SVD files using: ./SVDConv "$PICO_SDK_DIR"/src/rp2040/hardware_regs/rp2040.svd \ --generate=header --fields=struct --fields=macro --fields=enum Note: The missing `--fields=struct=ansic` flag resulted in registers no longer being a union of a 32 bit register and a struct containing bit fields containing the fields within the register. On the one hand this is more consistent with other vendor header files. On the other hand this makes it easier to get correct code: Accessing e.g. a byte-sized and byte-aligned field previously would cause a byte sized access. The memory mapped I/O area however only supports word sized writes (and byte-sized writes would silently corrupt the rest of the register bits). Without the bit fields this will not happen by accident anymore.
Showing
9 changed files
with
7,026 additions
and
2,696 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.