FreeCalypso > hg > freecalypso-sw
comparison loadtools/ltdispatch.c @ 105:02cb0206aa47
fc-loadtool help implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 03 Sep 2013 07:31:26 +0000 |
parents | 0c1480317c18 |
children | 8891c3d0c68a |
comparison
equal
deleted
inserted
replaced
104:f65df1d640aa | 105:02cb0206aa47 |
---|---|
14 extern int cmd_dump2bin(); | 14 extern int cmd_dump2bin(); |
15 extern int cmd_dump2srec(); | 15 extern int cmd_dump2srec(); |
16 extern int cmd_exec(); | 16 extern int cmd_exec(); |
17 extern int cmd_exit(); | 17 extern int cmd_exit(); |
18 extern int cmd_flash(); | 18 extern int cmd_flash(); |
19 extern int cmd_help(); | |
19 extern int loadtool_cmd_passthru(); | 20 extern int loadtool_cmd_passthru(); |
20 | 21 |
21 static struct cmdtab { | 22 static struct cmdtab { |
22 char *cmd; | 23 char *cmd; |
23 int minargs; | 24 int minargs; |
32 {"dump2srec", 3, 3, cmd_dump2srec}, | 33 {"dump2srec", 3, 3, cmd_dump2srec}, |
33 {"exec", 1, 1, cmd_exec}, | 34 {"exec", 1, 1, cmd_exec}, |
34 {"exit", 0, 1, cmd_exit}, | 35 {"exit", 0, 1, cmd_exit}, |
35 {"flash", 1, 5, cmd_flash}, | 36 {"flash", 1, 5, cmd_flash}, |
36 {"flash2", 1, 5, cmd_flash}, | 37 {"flash2", 1, 5, cmd_flash}, |
38 {"help", 0, 2, cmd_help}, | |
37 {"quit", 0, 1, cmd_exit}, | 39 {"quit", 0, 1, cmd_exit}, |
38 {"r8", 1, 1, loadtool_cmd_passthru}, | 40 {"r8", 1, 1, loadtool_cmd_passthru}, |
39 {"r16", 1, 1, loadtool_cmd_passthru}, | 41 {"r16", 1, 1, loadtool_cmd_passthru}, |
40 {"r32", 1, 1, loadtool_cmd_passthru}, | 42 {"r32", 1, 1, loadtool_cmd_passthru}, |
41 {"w8", 2, 2, loadtool_cmd_passthru}, | 43 {"w8", 2, 2, loadtool_cmd_passthru}, |