comparison loadtools/ltdispatch.c @ 646:0d199c6a6ea4

fc-loadtool: timeout-cal internal developer command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 02 Mar 2020 00:21:12 +0000
parents e7502631a0f9
children 8a89a42baa70
comparison
equal deleted inserted replaced
645:880c6d31e487 646:0d199c6a6ea4
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 cmd_help();
20 extern int cmd_timeout_cal();
20 extern int loadtool_cmd_passthru(); 21 extern int loadtool_cmd_passthru();
21 22
22 static struct cmdtab { 23 static struct cmdtab {
23 char *cmd; 24 char *cmd;
24 int minargs; 25 int minargs;
40 {"help", 0, 2, cmd_help}, 41 {"help", 0, 2, cmd_help},
41 {"quit", 0, 1, cmd_exit}, 42 {"quit", 0, 1, cmd_exit},
42 {"r8", 1, 1, loadtool_cmd_passthru}, 43 {"r8", 1, 1, loadtool_cmd_passthru},
43 {"r16", 1, 1, loadtool_cmd_passthru}, 44 {"r16", 1, 1, loadtool_cmd_passthru},
44 {"r32", 1, 1, loadtool_cmd_passthru}, 45 {"r32", 1, 1, loadtool_cmd_passthru},
46 {"timeout-cal", 1, 1, cmd_timeout_cal},
45 {"w8", 2, 2, loadtool_cmd_passthru}, 47 {"w8", 2, 2, loadtool_cmd_passthru},
46 {"w16", 2, 2, loadtool_cmd_passthru}, 48 {"w16", 2, 2, loadtool_cmd_passthru},
47 {"w32", 2, 2, loadtool_cmd_passthru}, 49 {"w32", 2, 2, loadtool_cmd_passthru},
48 {0, 0, 0, 0} 50 {0, 0, 0, 0}
49 }; 51 };