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: Memory.h
- Revision:
- 4:05f33cc747fd
- Parent:
- 3:ccc673a10485
diff -r ccc673a10485 -r 05f33cc747fd Memory.h --- a/Memory.h Tue Mar 22 16:25:41 2016 +0900 +++ b/Memory.h Wed Mar 23 09:11:05 2016 +0900 @@ -1,6 +1,7 @@ -// Memory.h 2016/3/22 +// Memory.h 2016/3/23 #pragma once #include <stdint.h> +#include "mymap.h" class Memory { public: @@ -10,8 +11,8 @@ bool Copy(uint32_t dst, uint32_t src, int count); private: - uint8_t** flash; - uint8_t** sram; + mymap<int,uint8_t*> flash; + mymap<int,uint8_t*> sram; uint32_t flash_end; uint32_t sram_base; uint32_t sram_end;