Skip to content

get_page_size return wrong thing on stm32f4 #4966

@LiyouZhou

Description

@LiyouZhou

The new stm32f4 hal implementation enables programming byte by byte.

Users of FlashIAP usually get the minimum programming size by calling flash.get_page_size(). However in the new stm32f4 implementation returns the "sector size" when get_page_size() is called which is erroneous and prevents effective use of the FlashIAP API.

https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32F4/flash_api.c#L133

@jeromecoutant
@adustm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions