FreeCalypso > hg > freecalypso-sw
diff loadtools/ltflash.c @ 62:6fb41cfa773d
fc-loadtool: flash erase implemented, compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 27 Jun 2013 04:56:17 +0000 |
parents | a10491da8c3a |
children | a481d648278a |
line wrap: on
line diff
--- a/loadtools/ltflash.c Mon Jun 24 17:46:15 2013 +0000 +++ b/loadtools/ltflash.c Thu Jun 27 04:56:17 2013 +0000 @@ -247,6 +247,7 @@ return(0); } +extern int flashcmd_erase(); extern int flashcmd_sectors(); static struct cmdtab { @@ -256,6 +257,7 @@ {"blankchk", flashcmd_blankchk}, {"dump2bin", flashcmd_dump2file}, {"dump2srec", flashcmd_dump2file}, + {"erase", flashcmd_erase}, {"info", flashcmd_info}, {"sectors", flashcmd_sectors}, {0, 0}