Skip to content

Add a Macro to Retrieve Row Size for FLASH Fast Programming Operations #3

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

Open
yahyayozo opened this issue Apr 29, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request flash Flash memory interface hal HAL-LL driver-related issue or pull-request.

Comments

@yahyayozo
Copy link

Description

Currently, the row size for FLASH fast programming operations differs across STM32 microcontrollers.
These are the 2 MCUs I worked on:

  • STM32G0: 32 doublewords (Reference) LINE 276
  • STM32WB: 64 doublewords (Reference) LINE 233

This caused an issue when I reused a software module that worked on STM32G0 but caused an issue with STM32WB.

Suggested Implementation

Define a macro in the HAL Flash driver headers for each MCU series.

Please mention if there is already a MACRO for this functionality

@RJMSTM RJMSTM added hal HAL-LL driver-related issue or pull-request. flash Flash memory interface labels Apr 30, 2025
@TOUNSTM
Copy link
Contributor

TOUNSTM commented May 2, 2025

Hello @yahyayozo,

Thank you for your report, You're right, There is no macro in our drivers that retrieve the FLASH row size, but also we don't add the FLASH_ROW_SIZE define in our drivers. Your request has been forwarded to our development teams. I will be back to you as soon as they provide me with their feedback.

Best regards,

@TOUNSTM TOUNSTM moved this from To do to Analyzed in stm32cube-mcu-fw-dashboard May 2, 2025
@TOUNSTM TOUNSTM added the enhancement New feature or request label May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flash Flash memory interface hal HAL-LL driver-related issue or pull-request.
Projects
Development

No branches or pull requests

3 participants