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
a5658801
Commit
a5658801
authored
Aug 16, 2014
by
Fabio Utzig
Browse files
Merge pull request #18 from TheMassController/master
Fixed return code, updated Makefile
parents
1cfd8137
a084024e
Changes
2
Hide whitespace changes
Inline
Side-by-side
lm4flash/Makefile
View file @
a5658801
EXE
:=
lm4flash
CFLAGS
:=
-Wall
-g
-O2
$(
shell
pkg-config
--cflags
libusb-1.0
)
CFLAGS
:=
-Wall
$(
shell
pkg-config
--cflags
libusb-1.0
)
LDFLAGS
:=
$(
shell
pkg-config
--libs
libusb-1.0
)
all
:
CFLAGS += -O2
all
:
$(EXE)
debug
:
CFLAGS += -g -DDEBUG
debug
:
$(EXE)
$(EXE)
:
$(EXE).c
gcc
$(CFLAGS)
$^
$(LDFLAGS)
-o
$@
...
...
lm4flash/lm4flash.c
View file @
a5658801
...
...
@@ -730,7 +730,7 @@ static int flasher_flash(const char *serial, const char *rom_name)
goto
done
;
}
switch
(
flasher_find_matching_device
(
switch
(
retval
=
flasher_find_matching_device
(
ctx
,
&
device
,
&
retval
,
ICDI_VID
,
ICDI_PID
,
serial
))
{
case
FLASHER_SUCCESS
:
break
;
...
...
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