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

model: when grabbing derived_from attributes use raw from derived #61

Merged
merged 1 commit into from Sep 15, 2018

Conversation

posborne
Copy link
Collaborator

For cases like getting the registers on a peripheral where we have
somewhat complex logic (registers is computed as the combination of
direct registers and arrays) we get into trouble get doing getattr
on the base name rather than the underscore version.

Fixes #59

For cases like getting the registers on a peripheral where we have
somewhat complex logic (registers is computed as the combination of
direct registers and arrays) we get into trouble get doing getattr
on the base name rather than the underscore version.

Fixes #59

Signed-off-by: Paul Osborne <osbpau@gmail.com>
@posborne posborne merged commit 2ab163c into master Sep 15, 2018
@posborne posborne deleted the bugfix/derived-from-register-arrays branch September 15, 2018 04:31
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.

None yet

1 participant