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.