Commit Graph

1 Commits (mbed-os-5.5)

Author SHA1 Message Date
Marcus Chang 3b32d25a96 FlashIAP: Add explicit read function to flash_api.h
On some platforms, the in-application memory is not memory mapped
and therefore cannot be accessed using memcpy.

The flash_read function added to flash_api.h (with a weak
implementation using memcpy in mbed_flash_api.c) can be used for
reading data from areas that are not memory mapped.
2017-07-14 15:13:31 +01:00