Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
lm4tools_public
Commits
78a94f34
Commit
78a94f34
authored
Oct 29, 2012
by
Zygmunt Krynicki
Browse files
lm4flash.c: Add flasher_usage() function
This function simply shows the command line arguments
parent
1f3bdce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
lm4flash/lm4flash.c
View file @
78a94f34
...
...
@@ -596,6 +596,16 @@ out:
return
flasher_error
;
}
static
void
flasher_usage
()
{
printf
(
"usage: lm4flash [-v] [-s serial] <binary-file>
\n
"
);
printf
(
"
\t
-v - Enables verification after write
\n
"
);
printf
(
"
\t
-s SERIAL - Flash device with the following serial
\n
"
);
}
int
main
(
int
argc
,
char
*
argv
[])
{
libusb_context
*
ctx
=
NULL
;
...
...
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