Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multipass
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
multipass
Commits
ecfab2bb
Commit
ecfab2bb
authored
3 years ago
by
Daniel Friesel
Browse files
Options
Downloads
Patches
Plain Diff
stm32, lm4f: "build/system.elf" is the default target
parent
6e6bb662
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/arch/lm4f120h5qr-stellaris/Makefile.inc
+6
-6
6 additions, 6 deletions
src/arch/lm4f120h5qr-stellaris/Makefile.inc
src/arch/stm32f446re-nucleo/Makefile.inc
+6
-6
6 additions, 6 deletions
src/arch/stm32f446re-nucleo/Makefile.inc
with
12 additions
and
12 deletions
src/arch/lm4f120h5qr-stellaris/Makefile.inc
+
6
−
6
View file @
ecfab2bb
...
...
@@ -85,12 +85,6 @@ OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o} ${ASM_TARGETS:.S=.o}
%.o
:
%.s | include/config.h
${
QUIET
}${
CC
}
${
INCLUDES
}
${
COMMON_FLAGS
}
-c
-o
$@
${
@:.o
=
.S
}
ext/libopencm3/Makefile
:
git submodule update
--init
ext/libopencm3/lib/libopencm3_lm4f.a
:
ext/libopencm3/Makefile
${
MAKE
}
-C
ext/libopencm3
build/system.elf
:
${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a
${
QUIET
}
mkdir
-p
build
${
QUIET
}${
CXX
}
${
INCLUDES
}
${
COMMON_FLAGS
}
${
CXXFLAGS
}
\
...
...
@@ -101,6 +95,12 @@ build/system.elf: ${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a
-o
$@
${
QUIET
}${
SIZE
}
build/system.elf |
tail
-n1
|
awk
'{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/49152) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/4096) "%)" }'
ext/libopencm3/Makefile
:
git submodule update
--init
ext/libopencm3/lib/libopencm3_lm4f.a
:
ext/libopencm3/Makefile
${
MAKE
}
-C
ext/libopencm3
program
:
build/system.elf
${
OBJCOPY
}
-O
binary build/system.elf build/system.bin
lm4flash build/system.bin
...
...
This diff is collapsed.
Click to expand it.
src/arch/stm32f446re-nucleo/Makefile.inc
+
6
−
6
View file @
ecfab2bb
...
...
@@ -86,12 +86,6 @@ OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o} ${ASM_TARGETS:.S=.o}
%.o
:
%.s | include/config.h
${
QUIET
}${
CC
}
${
INCLUDES
}
${
COMMON_FLAGS
}
-c
-o
$@
${
@:.o
=
.S
}
ext/libopencm3/Makefile
:
git submodule update
--init
ext/libopencm3/lib/libopencm3_stm32f4.a
:
ext/libopencm3/Makefile
${
MAKE
}
-C
ext/libopencm3
build/system.elf
:
${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a
${
QUIET
}
mkdir
-p
build
${
QUIET
}${
CXX
}
${
INCLUDES
}
${
COMMON_FLAGS
}
${
CXXFLAGS
}
\
...
...
@@ -102,6 +96,12 @@ build/system.elf: ${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a
-o
$@
${
QUIET
}${
SIZE
}
build/system.elf |
tail
-n1
|
awk
'{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/524288) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/131072) "%)" }'
ext/libopencm3/Makefile
:
git submodule update
--init
ext/libopencm3/lib/libopencm3_stm32f4.a
:
ext/libopencm3/Makefile
${
MAKE
}
-C
ext/libopencm3
program
:
build/system.elf
openocd
-c
'source [find interface/stlink-v2-1.cfg]'
\
-c
'transport select hla_swd'
-c
'source [find target/stm32f4x.cfg]'
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment