Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
alelec
micropython-ci
Commits
19bad7c4
Commit
19bad7c4
authored
Sep 16, 2021
by
Andrew Leech
Browse files
Added stm32 boards: STM32H7B3I_DK
parent
0886cf09
Pipeline
#615293531
failed
Changes
1
Pipelines
415
Hide whitespace changes
Inline
Side-by-side
ports/stm32/.gitlab-ci.yml
View file @
19bad7c4
.stm32
:
&stm32
stage
:
stm32
extends
:
.common
image
:
registry.gitlab.com/alelec/docker-arm-none-eabi:9.2.1
script
:
-
arm-none-eabi-gcc -v
-
mkdir ${NAME}
-
export BOARD=${CI_JOB_NAME}
-
cd micropython/ports/stm32
-
if [[ $CI_JOB_NAME == *_mboot ]] ; then
export BOARD=${CI_JOB_NAME::-6};
export USE_MBOOT=1;
make -C mboot BUILD=`pwd`/build BOARD=${CI_JOB_NAME::-6};
for ext in bin dfu elf hex map;
do cp -v build/firmware.${ext} ${CI_PROJECT_DIR}/${NAME}/mboot.${ext};
done;
cp ../../tools/pydfu.py ${CI_PROJECT_DIR}/${NAME}/;
fi;
-
make BOARD=${BOARD} BUILD=${CI_PROJECT_DIR}/${NAME} USE_MBOOT=${USE_MBOOT}
artifacts
:
paths
:
-
./*_*/firmware.*
-
./*_*/mboot.*
-
./*_*/pydfu.py
stm32_update
:
stage
:
update
extends
:
.git_config
variables
:
GIT_SUBMODULE_STRATEGY
:
normal
script
:
-
python3 ports/stm32/update.py
-
git checkout -b master ||
true
-
if ! $(git status -uno | grep -q "up to date"); then
git push origin master;
fi
only
:
[
schedules
,
triggers
]
ADAFRUIT_F405_EXPRESS
:
<<
:
*stm32
...
...
@@ -309,6 +269,12 @@ STM32F7DISC_mboot:
<<
:
*stm32
allow_failure
:
true
STM32H7B3I_DK
:
<<
:
*stm32
STM32H7B3I_DK_mboot
:
<<
:
*stm32
allow_failure
:
true
STM32L476DISC
:
<<
:
*stm32
STM32L476DISC_mboot
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment