Commit 19bad7c4 authored by Andrew Leech's avatar Andrew Leech
Browse files

Added stm32 boards: STM32H7B3I_DK

parent 0886cf09
Pipeline #615293531 failed
.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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment