FreeCalypso > hg > freecalypso-sw
diff loadtools/ltflash.c @ 99:b78db17bfc85
fc-loadtool: flash program-{m0,srec} implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 01 Sep 2013 18:59:48 +0000 |
parents | 57b8dbb029c2 |
children | 02cb0206aa47 |
line wrap: on
line diff
--- a/loadtools/ltflash.c Sun Sep 01 17:20:58 2013 +0000 +++ b/loadtools/ltflash.c Sun Sep 01 18:59:48 2013 +0000 @@ -297,6 +297,8 @@ extern int flashcmd_erase(); extern int flashcmd_progbin(); +extern int flashcmd_program_m0(); +extern int flashcmd_program_srec(); extern int flashcmd_sectors(); static struct cmdtab { @@ -309,6 +311,8 @@ {"erase", flashcmd_erase}, {"info", flashcmd_info}, {"program-bin", flashcmd_progbin}, + {"program-m0", flashcmd_program_m0}, + {"program-srec", flashcmd_program_srec}, {"quickprog", flashcmd_quickprog}, {"sectors", flashcmd_sectors}, {0, 0}