flash codes for reading or writing 20 bytes into the last sector of the flash area

Dependencies:   FreescaleIAP mbed

Revision:
0:be957fac28c5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Flash.h	Thu Mar 03 04:43:15 2016 +0000
@@ -0,0 +1,3 @@
+int strt_add = flash_size() - (SECTOR_SIZE);  
+uint32_t flasharray[20];
+char *nativeflash = (char*)strt_add;
\ No newline at end of file