FreeCalypso > hg > freecalypso-sw
diff loadtools/ltdispatch.c @ 58:1f9302b6f342
fc-loadtool: started flash/flash2 command implementation
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 24 Jun 2013 06:30:57 +0000 |
parents | 10996c267de4 |
children | a7da6648a7f8 |
line wrap: on
line diff
--- a/loadtools/ltdispatch.c Mon Jun 24 05:24:19 2013 +0000 +++ b/loadtools/ltdispatch.c Mon Jun 24 06:30:57 2013 +0000 @@ -14,6 +14,7 @@ extern int cmd_dump2srec(); extern int cmd_exec(); extern int cmd_exit(); +extern int cmd_flash(); extern int loadtool_cmd_passthru(); static struct cmdtab { @@ -29,6 +30,8 @@ {"dump2srec", 3, 3, cmd_dump2srec}, {"exec", 1, 1, cmd_exec}, {"exit", 0, 1, cmd_exit}, + {"flash", 1, 4, cmd_flash}, + {"flash2", 1, 4, cmd_flash}, {"quit", 0, 1, cmd_exit}, {"r8", 1, 1, loadtool_cmd_passthru}, {"r16", 1, 1, loadtool_cmd_passthru},