Skip to content

Function get_erase_size is declared incorrectly in QSPIFBlockDevice.h #13061

@jporter4

Description

@jporter4

Function get_erase_size is declared incorrectly in QSPIFBlockDevice.h. It is missing the keyword 'const'.

Tested with external Flash device on Nordic nRF52840 based project. I would expect to see the same warning with any external QSPIF device.

5.14.1 and 5.15.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

EWARM 8.50

How is this defect reproduced ?

Include the file and compile.
It generates a warning only, so low severity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions