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. |
---|
|
drivers/FlashIAP.cpp |
---|
hal/flash_api.h |
---|
hal/mbed_flash_api.c 0 → 100644 |
---|