Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MinimouseSrc/ApiFlash.cpp
- Revision:
- 1:eda561b01daf
- Parent:
- 0:2325d1d28df3
--- a/MinimouseSrc/ApiFlash.cpp Fri Dec 15 13:15:04 2017 +0000 +++ b/MinimouseSrc/ApiFlash.cpp Mon Dec 18 16:31:11 2017 +0000 @@ -27,7 +27,7 @@ // to be completed by mcu providers return (0); } -int Flash::read(uint8_t *buffer, uint32_t addr, uint32_t size){ +int Flash::RestoreContext(uint8_t *buffer, uint32_t addr, uint32_t size){ /* have to be implemented by mcu providers the following code propose a lite implementation without any error cases*/ int i; @@ -39,7 +39,7 @@ -int Flash::program(const void *buffer, uint32_t addr, uint32_t size){ +int Flash::StoreContext(const void *buffer, uint32_t addr, uint32_t size){ /* have to be implemented by mcu providers the following code propose a lite implementation without any error cases this section have to be very robust, have to support failure mode such as power off during flash programmation