Skip to content

Possibly non relevant check in tests-mbed_drivers-flashiap #4972

@LMESTM

Description

@LMESTM

Description

tests-mbed_drivers-flashiap | FlashIAP - program errors test checks for several return codes and expects that flash_program_page will return error (-1) in case of "unaligned" address or "unaligned" page size.

But as discussed in #4966 STM32F4 targets are able to program flash with 1 byte granularity, so from common understanding so far, the get_page_size shall return 1 (minimum program size of 1). Then considering that we can program 1 byte at a time, the above error check does not make sense.

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