Skip to content
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

fix read-only peripheral #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kossnikita
Copy link

fix !19

@PhilippHaefele
Copy link

After a quick look into SVD specifications (https://www.keil.com/pack/doc/CMSIS/SVD/html/elem_registers.html & https://www.keil.com/pack/doc/CMSIS/SVD/html/elem_special.html#registerPropertiesGroup_gr), I suspect that access rights are not writable by default and there's only an inheritance model.

So changing the default here mist likely will not fix it in an appropriate way.

I didn't look into code to be precise on this, so not really sure

@kossnikita
Copy link
Author

kossnikita commented Mar 28, 2024

UPD: Good catch! Please give me feedback on the new solution

@kossnikita
Copy link
Author

I suspect that access rights are not writable by default

I can't find any informtion about this. Therefore, I believe that it should have read-write based on my reading of svd files, in which often access is not specified at all, although read-write is supposed

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.

Incorrect indication of read-write access
2 participants