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

[feature] STM32G4: Erase pages on flash bank 2 #1457

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

Gnarflord
Copy link
Contributor

Fixes #1456

I added a further define to differentiate between the bit positions of BKER on G0 and G4 devices. Apparently bank 2 is not even supported for the G0 at all, so this BKER field was previously never correctly used? Someone with more experience should definitely confirm that my changes do not break support for other devices..

@Nightwalker-87 Nightwalker-87 added this to the v1.8.1 milestone Mar 3, 2025
@Nightwalker-87 Nightwalker-87 changed the title Fix bug when erasing pages on bank 2 on the STM32G4 [bug-fix] STM32G4: Erasing pages on flash bank 2 Mar 5, 2025
@Nightwalker-87 Nightwalker-87 changed the title [bug-fix] STM32G4: Erasing pages on flash bank 2 [feature] STM32G4: Erasing pages on flash bank 2 Mar 5, 2025
@Nightwalker-87 Nightwalker-87 changed the title [feature] STM32G4: Erasing pages on flash bank 2 [feature] STM32G4: Erase pages on flash bank 2 Mar 5, 2025
@Nightwalker-87 Nightwalker-87 merged commit b149e24 into stlink-org:testing Mar 5, 2025
41 checks passed
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Mar 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

STM32G474: programming flash error, non-erased value
2 participants