It show how to use storage_on_flash library. The storage_on_flash is tiny storage implementation on STM32 flash memory.
Dependencies: mbed storage_on_flash
Revision 1:9e21adbf4f8e, committed 2015-01-19
- Comitter:
- hillkim7
- Date:
- Mon Jan 19 14:47:00 2015 +0000
- Parent:
- 0:e13134122925
- Commit message:
- Function name modified.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
storage_on_flash.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r e13134122925 -r 9e21adbf4f8e main.cpp --- a/main.cpp Mon Jan 19 14:37:42 2015 +0000 +++ b/main.cpp Mon Jan 19 14:47:00 2015 +0000 @@ -106,8 +106,8 @@ return; } - printf("data %d bytes at %p :\r\n", reader.get_data_size(), reader.get_physical_base_addr()); - printf("%.*s", reader.get_data_size(), reader.get_physical_base_addr()); + printf("data %d bytes at %p :\r\n", reader.get_data_size(), reader.get_physical_data_addr()); + printf("%.*s", reader.get_data_size(), reader.get_physical_data_addr()); printf("\r\n"); }
diff -r e13134122925 -r 9e21adbf4f8e storage_on_flash.lib --- a/storage_on_flash.lib Mon Jan 19 14:37:42 2015 +0000 +++ b/storage_on_flash.lib Mon Jan 19 14:47:00 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/mbed_controller/code/storage_on_flash/#7f4bc855cb46 +http://developer.mbed.org/teams/mbed_controller/code/storage_on_flash/#33afe074c8f8