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
Diff: main.cpp
- Revision:
- 1:9e21adbf4f8e
- Parent:
- 0:e13134122925
--- 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"); }