Skip to content

stm32wle5: normalize EXTI.IMRx to match dual-core variants #590

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

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

newAM
Copy link
Member

@newAM newAM commented Aug 4, 2021

The dual-core STM32WL5x variant use the CxIMRy naming convention on the EXTI IMR registers whereas the single-core STM32WLE5 variant uses IMRy.

This PR adds the Cx prefix to the single-core variant to reduce the occurrences of #[cfg(feature = "stm32wle5")]. This matches what has already been done for other peripherals (HSEM).

cc @jorgeig-space

@github-actions
Copy link

github-actions bot commented Aug 4, 2021

Memory map comparison

@jorgeig-space
Copy link

Thanks, @newAM.

LGTM!

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

bors merge

@bors bors bot merged commit d2ea2b4 into stm32-rs:master Aug 4, 2021
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy