continued implementing flash routines

This commit is contained in:
Markus Fröschle
2013-02-14 13:58:27 +00:00
parent b49c9e628d
commit 1a6d81ed1d
2 changed files with 47 additions and 11 deletions

View File

@@ -35,7 +35,8 @@ typedef enum
SREC_CORRUPT, /* file doesn't seem to contain valid S-records */
MEMCPY_FAILED, /* could not copy buffer to destination */
CODE_OVERLAPS, /* copying would overwrite ourself */
VERIFY_FAILED /* destination does not read as we've written to */
VERIFY_FAILED, /* destination does not read as we've written to */
ILLEGAL_SECTOR /* flash sector number invalid */
} err_t;
typedef err_t (*memcpy_callback_t)(uint8_t *dst, uint8_t *src, uint32_t length);