annotate target-utils/pirexplore/cmdtab.c @ 735:458366ab2d6d

rr_cs.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 05 Oct 2014 08:52:20 +0000
parents e60aecf23970
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 #include "cmdtab.h"
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2
389
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
3 extern void cmd_abbr();
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
4 extern void cmd_abbw();
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 extern void cmd_baud_switch();
104
f65df1d640aa pirexplore: approaching sanity with the LCD
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 101
diff changeset
6 extern void cmd_blit();
69
8387dcba945d pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 67
diff changeset
7 extern void cmd_dieid();
101
7029fe8ae0bc pirexplore: FFS find command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
8 extern void cmd_find();
206
9539929b3414 pirexplore: flashid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 202
diff changeset
9 extern void cmd_flashid();
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 extern void cmd_jump();
78
2c266d4339ff pirexplore: lcdfill implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 77
diff changeset
11 extern void cmd_lcdfill();
77
fcbe1332b197 pirexplore: LCD init and BL control work now
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 76
diff changeset
12 extern void cmd_lcdinit();
202
b26b7459bd44 pirexplore: lcdramp command renamed to lcdtest: the bars aren't a ramp
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 196
diff changeset
13 extern void cmd_lcdtest();
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 extern void cmd_r8();
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 extern void cmd_r16();
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 extern void cmd_r32();
72
92c1ed6b4b67 pirexplore: RTC read implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 69
diff changeset
17 extern void cmd_rtc();
73
c54c6ad1c66f pirexplore: added rtccomp command to read RTC compensation registers
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 72
diff changeset
18 extern void cmd_rtccomp();
74
8138a6380ae3 pirexplore: attempt to play with SPCA552E
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 73
diff changeset
19 extern void cmd_spca();
76
07b686248ab7 pirexplore: finally got the backlight to turn on
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 74
diff changeset
20 extern void cmd_spcainit();
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 extern void cmd_w8();
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 extern void cmd_w16();
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 extern void cmd_w32();
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24
389
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
25 extern void abb_init();
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
26 extern void abb_power_off();
196
3daa8ebbe74d pirexplore: a bit of refactoring
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 104
diff changeset
27 extern void cmd_memdump_human();
100
02ece4d8c755 pirexplore: beginning of FFS support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 78
diff changeset
28 extern void mpffs_init();
02ece4d8c755 pirexplore: beginning of FFS support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 78
diff changeset
29
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 const struct cmdtab cmdtab[] = {
389
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
31 {"abbinit", abb_init},
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
32 {"abbr", cmd_abbr},
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
33 {"abbw", cmd_abbw},
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 {"baud", cmd_baud_switch},
104
f65df1d640aa pirexplore: approaching sanity with the LCD
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 101
diff changeset
35 {"blit", cmd_blit},
69
8387dcba945d pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 67
diff changeset
36 {"dieid", cmd_dieid},
196
3daa8ebbe74d pirexplore: a bit of refactoring
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 104
diff changeset
37 {"dump", cmd_memdump_human},
100
02ece4d8c755 pirexplore: beginning of FFS support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 78
diff changeset
38 {"ffsinit", mpffs_init},
101
7029fe8ae0bc pirexplore: FFS find command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
39 {"find", cmd_find},
206
9539929b3414 pirexplore: flashid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 202
diff changeset
40 {"flashid", cmd_flashid},
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 {"jump", cmd_jump},
78
2c266d4339ff pirexplore: lcdfill implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 77
diff changeset
42 {"lcdfill", cmd_lcdfill},
77
fcbe1332b197 pirexplore: LCD init and BL control work now
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 76
diff changeset
43 {"lcdinit", cmd_lcdinit},
202
b26b7459bd44 pirexplore: lcdramp command renamed to lcdtest: the bars aren't a ramp
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 196
diff changeset
44 {"lcdtest", cmd_lcdtest},
389
e60aecf23970 target-utils: ABB operations implemented (ported from OsmocomBB),
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 206
diff changeset
45 {"poweroff", abb_power_off},
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 {"r8", cmd_r8},
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 {"r16", cmd_r16},
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 {"r32", cmd_r32},
72
92c1ed6b4b67 pirexplore: RTC read implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 69
diff changeset
49 {"rtc", cmd_rtc},
73
c54c6ad1c66f pirexplore: added rtccomp command to read RTC compensation registers
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 72
diff changeset
50 {"rtccomp", cmd_rtccomp},
74
8138a6380ae3 pirexplore: attempt to play with SPCA552E
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 73
diff changeset
51 {"spca", cmd_spca},
76
07b686248ab7 pirexplore: finally got the backlight to turn on
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 74
diff changeset
52 {"spcainit", cmd_spcainit},
67
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 {"w8", cmd_w8},
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 {"w16", cmd_w16},
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 {"w32", cmd_w32},
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 {0, 0}
b8f335553000 pirexplore utility started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 };