Skip to content

Sort registers by address_offset before checking for overlap. #32

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

Conversation

wesen
Copy link
Contributor

@wesen wesen commented Nov 20, 2016

This was a problem for example when generating the map for NVIC on the STM32F303x, where
most registers would be discarded because STIR is listed first, before all ISERx fields.

@japaric
Copy link
Member

japaric commented Nov 20, 2016

👍 I think this should fix #26 cc @phil-opp

@homunkulus r+

@homunkulus
Copy link
Contributor

📌 Commit 9010fec has been approved by japaric

@homunkulus
Copy link
Contributor

⌛ Testing commit 9010fec with merge 1724d0d...

japaric pushed a commit that referenced this pull request Nov 20, 2016
…lap, r=japaric

Sort registers by address_offset before checking for overlap.

This was a problem for example when generating the map for NVIC on the STM32F303x, where
most registers would be discarded because STIR is listed first, before all ISERx fields.
@homunkulus
Copy link
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing 1724d0d to master...

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.

3 participants