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

Update TI to SVD access mapping based on SVD spec #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

seanmlyons22
Copy link

 * Schema here shows mapping: https://www.keil.com/pack/doc/CMSIS/SVD/html/schema_1_2_gr.html
 * Generate access on bitfilds as well
 * Working on svd2rust 0.33.1
@seanmlyons22
Copy link
Author

@dhoove, I tried this one out today when generating some XML for the CC13xx_CC26xx family and it seems to be parsed by svd2rust just fine. Can you take a look?

@seanmlyons22
Copy link
Author

@dhoove did you get a chance to look at this one?

* Per
  https://arm-software.github.io/CMSIS_5/SVD/html/elem_registers.html
  "If the elements <size>, <access>, <resetValue>, and <resetMask> have not been specified on a higher level, then these elements are mandatory on register level."
* So we assume all registers are read-write and then let bitfields (or
  the tixml) define further restrictions as needed
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.

1 participant