Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jun 24, 2025

Backport 62a1b8a from #91949.

Fixes #84842

The STM32WBA Flash Manager driver is failing to erase a sector, instead of
erasing one sector, two sectors are erased.
Fix it by correctly calculating the number of sectors to erase

Signed-off-by: Eric Mechin <[email protected]>
(cherry picked from commit 62a1b8a)
@github-actions github-actions bot added the Backport Backport PR and backport failure issues label Jun 24, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Jun 24, 2025
@kartben kartben requested a review from erwango July 23, 2025 15:10
@sonarqubecloud
Copy link

@kartben kartben merged commit e81d10f into v4.1-branch Aug 19, 2025
30 checks passed
@github-project-automation github-project-automation bot moved this from Needs more info to Done in Backports Aug 19, 2025
@kartben kartben deleted the backport-91949-to-v4.1-branch branch August 19, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Flash Backport Backport PR and backport failure issues platform: STM32 ST Micro STM32

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

STM32WBA: zephyr/drivers/flash/flash_stm32wba_fm.c: flash_stm32_erase: unexpected erase size

5 participants