golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
67 stars 19 forks source link

samples: dfu: add sysbuild.conf and pytest runtime test scripts #296

Closed mniestroj closed 1 year ago

mniestroj commented 1 year ago

See commit messages for details.

Depends on #295 because of changed directory structure with new NCS (there is automatic detection of NCS vs Zephyr in pytest script).

This allows to execute (and test) DFU sample from twister. This works out of the box for nRF91 platform, which is NCS based. In case of Zephyr targets that support sysbuild (nrf52840dk_nrf52840, mimxrt1060_evkb) CONFIG_GOLIOTH_SYSTEM_SETTINGS=n needs to be set in prj.conf file, because it is not possible (for now) to overwrite that option from sample.yaml. ESP32 DFU testing from twister is not supported for now, due to missing information on how to build ESP32 port of mcuboot in sysbuild. This probably could be developed in SDK repo when needed.

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 8b2959e):

https://golioth-zephyr-sdk-doxygen-dev--pr296-samples-dfu-sysb-kewh9lba.web.app

(expires Thu, 06 Oct 2022 15:30:23 GMT)

🔥 via Firebase Hosting GitHub Action 🌎