golioth / golioth-zephyr-sdk

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

samples: dfu: use settings to store credentials by default #209

Closed mniestroj closed 2 years ago

mniestroj commented 2 years ago

Make some cleanup across sample code that is used for more than a single sample. See commits for details.

So far Golioth credentials were baked into the firmware after configuring those with Kconfig (when used with DFU). Start using settings subsystem to store them instead, so that single firmware can be used for multiple devices.

Disable settings subsystem for qemu_x86 platform, as there is no persisent storage configured with default configuration used.

github-actions[bot] commented 2 years ago

Visit the preview URL for this PR (updated for commit 23c8c21):

https://golioth-zephyr-sdk-doxygen-dev--pr209-dfu-with-setting-6yq4v6wg.web.app

(expires Fri, 20 May 2022 14:17:23 GMT)

🔥 via Firebase Hosting GitHub Action 🌎