Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DEL 1ns 4cha
Commits
741d14af
Commit
741d14af
authored
Feb 24, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:tool: improve help messages
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
290d5d85
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
3 deletions
+8
-3
fmc-fdelay-board-time.c
software/tools/fmc-fdelay-board-time.c
+2
-1
fmc-fdelay-calibration.c
software/tools/fmc-fdelay-calibration.c
+1
-1
fmc-fdelay-input.c
software/tools/fmc-fdelay-input.c
+1
-0
fmc-fdelay-pulse.c
software/tools/fmc-fdelay-pulse.c
+1
-0
fmc-fdelay-status.c
software/tools/fmc-fdelay-status.c
+2
-1
fmc-fdelay-term.c
software/tools/fmc-fdelay-term.c
+1
-0
No files found.
software/tools/fmc-fdelay-board-time.c
View file @
741d14af
...
...
@@ -22,7 +22,8 @@ void help(char *name)
" wr - sets the time source to White Rabbit.
\n
"
" host - sets the time source to local oscillator and coarsely
\n
"
" synchronizes the card to the system clock.
\n
"
" seconds:[nanoseconds]: - sets local time to the given value.
\n
"
);
" seconds:[nanoseconds]: - sets local time to the given value.
\n
"
" and <dev> is the device ID (hexadecimal)
\n
"
);
exit
(
1
);
}
...
...
software/tools/fmc-fdelay-calibration.c
View file @
741d14af
...
...
@@ -42,7 +42,7 @@ static const char help_msg[] =
"-f Source file where to read calibration data from
\n
"
"-o Offset in bytes within the file (default 0)
\n
"
"Write options:
\n
"
"-D FMC FDelay Target Device ID
\n
"
"-D FMC FDelay Target Device ID
(hexadecimal)
\n
"
"
\n
"
;
static
inline
void
fmc_fdelay_calibration_version
(
void
)
...
...
software/tools/fmc-fdelay-input.c
View file @
741d14af
...
...
@@ -18,6 +18,7 @@ void help(char *name)
fprintf
(
stderr
,
"%s: Use
\"
%s [-V] [-d <dev>] [<opts>]
\n
"
,
name
,
name
);
fprintf
(
stderr
,
" options:
\n
"
" -d <dev> device ID (hexadecimal)
\n
"
" -c <count> default is 0 and means forever
\n
"
" -n nonblocking: only empty buffer
\n
"
" -r raw mode: show hex timestamps
\n
"
...
...
software/tools/fmc-fdelay-pulse.c
View file @
741d14af
...
...
@@ -20,6 +20,7 @@ void help(char *name)
fprintf
(
stderr
,
"%s: Use
\"
%s [-V] [-d <dev>] [<opts>]
\n
"
,
name
,
name
);
fprintf
(
stderr
,
" options:
\n
"
" -d <dev> device ID (hexadecimal)
\n
"
" -o <output> ouput channel: 1..4 (default 1)
\n
"
" -c <count> default is 0 and means forever
\n
"
" -m <mode>
\"
pulse
\"
(default),
\"
delay
\"
,
\"
disable
\"\n
"
...
...
software/tools/fmc-fdelay-status.c
View file @
741d14af
...
...
@@ -15,7 +15,8 @@ void help(char *name)
fprintf
(
stderr
,
"fmc-fdelay-status: reports channel programming
\n
"
);
fprintf
(
stderr
,
"Use:
\"
%s [-V] [-d <dev>] [-r]
\"\n
"
,
name
);
fprintf
(
stderr
,
" -r: display raw hardware configuration"
);
fprintf
(
stderr
,
" -d <dev>: device ID (hexadecimal)
\n
"
);
fprintf
(
stderr
,
" -r : display raw hardware configuration
\n
"
);
exit
(
1
);
}
...
...
software/tools/fmc-fdelay-term.c
View file @
741d14af
...
...
@@ -14,6 +14,7 @@ void help(char *name)
{
fprintf
(
stderr
,
"%s: Use
\"
%s [-V] [-d <dev>] [on|off]
\n
"
,
name
,
name
);
fprintf
(
stderr
,
" -d <dev>: device ID (hexadecimal)
\n
"
);
exit
(
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment