summaryrefslogtreecommitdiff
path: root/tools/ci.sh
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-11-21 14:47:40 +1100
committerDamien George <damien@micropython.org>2021-11-22 17:12:16 +1100
commit90554d03c0228f403df3f52ae9c4114c0bdc02b1 (patch)
tree68fca10b72e75403386208d9ba69965cc566f69a /tools/ci.sh
parente2ca8ab8fc2f824dc7ebaa8fe65c4d2e7891080e (diff)
stm32/boards: Build NUCLEO_WB55 and STM32F769DISC without mboot enabled.
This is to make the builds for all nucleo/discovery boards uniform, so they can be treated the same by the auto build scripts. The CI script is updated to explicitly enable mboot and packing, to test these features. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools/ci.sh')
-rwxr-xr-xtools/ci.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/ci.sh b/tools/ci.sh
index f9b90b968..bf5b1fd04 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -282,12 +282,16 @@ function ci_stm32_nucleo_build {
make ${MAKEOPTS} -C mpy-cross
make ${MAKEOPTS} -C ports/stm32 submodules
git submodule update --init lib/mynewt-nimble
+
+ # Test building various MCU families, some with additional options.
make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_F091RC
make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_H743ZI CFLAGS_EXTRA='-DMICROPY_PY_THREAD=1'
make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_L073RZ
make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_L476RG DEBUG=1
- make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_WB55
- make ${MAKEOPTS} -C ports/stm32/mboot BOARD=NUCLEO_WB55
+
+ # Test building a board with mboot packing enabled (encryption, signing, compression).
+ make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_WB55 USE_MBOOT=1 MBOOT_ENABLE_PACKING=1
+ make ${MAKEOPTS} -C ports/stm32/mboot BOARD=NUCLEO_WB55 USE_MBOOT=1 MBOOT_ENABLE_PACKING=1
# Test mboot_pack_dfu.py created a valid file, and that its unpack-dfu command works.
BOARD_WB55=ports/stm32/boards/NUCLEO_WB55
BUILD_WB55=ports/stm32/build-NUCLEO_WB55