Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ACPS (E-24)
P
public
ahoi
firmware
Commits
dd51e970
Commit
dd51e970
authored
Feb 12, 2020
by
Bernd-Christian Renner
Browse files
fixed bug in Makefile that prevented command line device programming
parent
d9d4155c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/hal/mcu/stm32f4/make/Makefile
src/hal/mcu/stm32f4/make/Makefile
+2
-2
No files found.
src/hal/mcu/stm32f4/make/Makefile
View file @
dd51e970
...
...
@@ -125,7 +125,7 @@ cflags += -ffunction-sections -fdata-sections
ldflags
+=
-Wl
,--gc-sections
# output a link map file and a cross reference table
ldflags
+=
-Wl
,-Map,
"
$(BUILD_DIR)
/
$(PROJ
_NAME
)
.map"
,--cref
ldflags
+=
-Wl
,-Map,
"
$(BUILD_DIR)
/
$(PROJ
ECT
)
.map"
,--cref
# add library search paths relative to top level directory
ldflags
+=
$(
foreach
_LIB_PATH,
$(
addprefix
$(PRJ_PATH)
/,
$(LIB_PATH)
)
,-L
$(_LIB_PATH)
)
...
...
@@ -219,4 +219,4 @@ $(BUILD_DIR)/$(TARGET): $(PRJ_PATH)/$(LINKER_SCRIPT) $(MAKEFILE_PATH) $(MAKEFILE
.PHONY
:
program
program
:
@
echo
$(MSG_PROGRAMMING)
$(Q)$(PROGRAM)
write
$(BUILD_DIR)
/
$(PROJ
_NAME
)
.bin
$(FLASH)
$(Q)$(PROGRAM)
write
$(BUILD_DIR)
/
$(PROJ
ECT
)
.bin
$(FLASH)
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