-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register clusters not supported #5
Comments
This issue actually seems to be solved in master branch from cmsis-svd without integration. Keeping bug open until it's possible to do a decent solution. The issue is that the solution is from 2018 (five years ago, current date), but last tagged version is from 2016, so need to install the git version of cmsis-svd A temporary workaround until a new version of
Haven't really checked yet though. The issue I have is that SPIS2 from their nrf52840.svd doesn't contain TXD and RXD clusters. But it might be more related to that those parameters doesn't follow the |
There is a patch already apparently. However, not merged. |
Hum... better command to update is:
This is a real problem, so should should add that also to the documentation. But probably need to fork posborne/cmsis-svd to not rely on the release cycle of that project |
Maybe just use the URL in the pyproject.toml? |
Oh, didn't know that was possible. Just assumed that would be issues with dependencies for the user that installs a package. Thanks for the link. I might fix that soon However, there are still issues that are not merged, which results in missing register clusters... Needs to think about it a bit |
Yeah, it's probably not wise to directly depend on the master branch of a repository you don't control, that can easily lead to very annoying bugs. So forking it and merging all issues you need is probably best, but then again you might as well just publish in on PyPi anyways… so. meh? |
Describe the bug
Some platforms have what's called "Register clusters" which acts like structs, making a set of registers reusable.
One example usage is to cluster DMA related registers in nrf52840 SPIS peripheral, so RXD, TXD clusters have the same registers, configuring the data pointers.
To Reproduce
Steps to reproduce the behavior:
nrf52840
svd file (a version using clusters)arm list nrf52840 SPIS
Expected behavior
I expect to see
RXD
andTXD
registersScreenshots / Logs
Seems to be missing.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: