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
d834666b
Commit
d834666b
authored
4 years ago
by
Daniel Friesel
Browse files
Options
Downloads
Patches
Plain Diff
GitLab CI: Add build tests for stm32f446re-nucleo
parent
531e1e0e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+13
-0
13 additions, 0 deletions
.gitlab-ci.yml
src/arch/stm32f446re-nucleo/Makefile.inc
+4
-3
4 additions, 3 deletions
src/arch/stm32f446re-nucleo/Makefile.inc
with
17 additions
and
3 deletions
.gitlab-ci.yml
+
13
−
0
View file @
d834666b
...
...
@@ -41,6 +41,19 @@ build_msp430fr5994lp:
-
make -B arch=msp430fr5994lp app=ledblink loop=1 timer_s=1
-
make -B arch=msp430fr5994lp app=sysinfo
build_stm32f446re-nucleo
:
stage
:
build
script
:
-
apt-get update -qy
-
apt-get install -y build-essential gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib git python3
-
mkdir -p build
-
make arch=stm32f446re-nucleo ext/libopencm3/lib/libopencm3_stm32f4.a
-
make arch=stm32f446re-nucleo app=donothing
-
find src -name '*.o' -delete
-
make arch=stm32f446re-nucleo app=ledblink loop=1 timer_s=1
-
find src -name '*.o' -delete
-
make arch=stm32f446re-nucleo app=sysinfo
test_posix
:
stage
:
test
script
:
...
...
This diff is collapsed.
Click to expand it.
src/arch/stm32f446re-nucleo/Makefile.inc
+
4
−
3
View file @
d834666b
...
...
@@ -76,10 +76,11 @@ OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o} ${ASM_TARGETS:.S=.o}
.s.o
:
${
QUIET
}${
CC
}
${
INCLUDES
}
${
COMMON_FLAGS
}
-c
-o
$@
${
@:.o
=
.S
}
# deliberately no ${MAKE} here -- multipass relies on make -B, but we don't
# want to re-make libopencm3 all the time
ext/libopencm3/lib/libopencm3_stm32f4.a
:
ext/libopencm3/Makefile
ext/libopencm3/Makefile
:
git submodule update
--init
ext/libopencm3/lib/libopencm3_stm32f4.a
:
ext/libopencm3/Makefile
find ext/libopencm3
-type
f
-exec
sed
-i
's/python$$/python3/'
'{}'
';'
${
MAKE
}
-C
ext/libopencm3
build/system.elf
:
${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a
...
...
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