KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
cfg_shell.h
Go to the documentation of this file.
1
/*
2
* KM3NeT CLB v2 Firmware
3
* ----------------------
4
*
5
* Copyright 2013 KM3NeT Collaboration
6
*
7
* All Rights Reserved.
8
*
9
*
10
* File : cfg_shell.h
11
* Created : 8 feb. 2013
12
* Author : Vincent van Beveren
13
*/
14
15
16
#ifndef CFG_SHELL_H_
17
#define CFG_SHELL_H_
18
19
/**
20
* @file
21
*
22
* @ingroup cfg
23
*
24
* Configures the shell commands.
25
*/
26
27
/**
28
* List of shell commands. Surround by X().
29
*/
30
#ifdef GOLDEN
31
32
#define SHELL_COMMANDS \
33
X(help) \
34
X(bus) \
35
X(reset) \
36
X(srp) \
37
X(i2c) \
38
X(sdb) \
39
X(sfp) \
40
X(flash) \
41
X(acou) \
42
X(mboot) \
43
X(ipmux) \
44
X(xadc) \
45
X(net) \
46
X(rt) \
47
X(verify) \
48
X(stop)
49
50
#else
51
#ifndef KM3SIM
52
53
#ifdef BASE
54
55
#define SHELL_COMMANDS \
56
X(help) \
57
X(bus) \
58
X(reset) \
59
X(srp) \
60
X(sdb) \
61
X(flash) \
62
X(mboot) \
63
X(state) \
64
X(stmach) \
65
X(sfp) \
66
X(net) \
67
X(pv) \
68
X(edfa) \
69
X(bps) \
70
X(rt) \
71
X(acdc)
72
73
#else //runtime shell commands
74
75
#define SHELL_COMMANDS \
76
X(help) \
77
X(bus) \
78
X(reset) \
79
X(load) \
80
X(mboot) \
81
X(sfp) \
82
X(state) \
83
X(opt) \
84
X(stmach) \
85
X(wrx) \
86
X(net) \
87
X(pv) \
88
X(rt) \
89
X(lsmagr) \
90
X(img) \
91
X(cdc) \
92
X(srp)
93
94
95
/* X(flash) \
96
X(log) \
97
X(acou) \
98
X(ipmux) \
99
100
*/
101
#endif
102
103
#else
104
#define SHELL_COMMANDS \
105
X(help) \
106
X(srp) \
107
X(net)
108
#endif
109
110
#endif
111
112
#endif
/* CFG_SHELL_H_ */
cfg
cfg_shell.h
Generated on Mon Aug 3 2020 12:57:17 for KM3NeT CLB by
1.8.5