
flash codes for reading or writing 20 bytes into the last sector of the flash area
Dependencies: FreescaleIAP mbed
Revision 1:2f1e120d6f75, committed 2016-03-03
- Comitter:
- raizel_varun
- Date:
- Thu Mar 03 04:44:24 2016 +0000
- Parent:
- 0:be957fac28c5
- Commit message:
- flash for 20 bytes
Changed in this revision
Flash.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r be957fac28c5 -r 2f1e120d6f75 Flash.cpp --- a/Flash.cpp Thu Mar 03 04:43:15 2016 +0000 +++ b/Flash.cpp Thu Mar 03 04:44:24 2016 +0000 @@ -14,7 +14,7 @@ /*End*/ /*Reading from Flash*/ -uint32_t FCTN_CDMS_RD_FLASH(uint16_t i) +uint32_t FCTN_CDMS_RD_FLASH() { for(int8_t i=0;i<(20);i++)flasharray[i]=nativeflash[i]; return flasharray[i];