Closed szczys closed 8 months ago
Visit the preview URL for this PR (updated for commit 24addec):
https://golioth-zephyr-sdk-doxygen-dev--pr435-szczys-implement-v4811whw.web.app
(expires Fri, 13 Oct 2023 21:23:52 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: a389eefadf4b4b68a539327b3459dd66c142cf49
Since there are already 2 ways (see above) how (application) version can be set, I don't see good enough reason to introduce another way.
Okay, sounds good.
This implements the
GOLIOTH_SAMPLE_FW_VERSION
symbol for setting the firmware version in the prj.conf file. This matches what we are doing in the Firmware SDK.Considerations
-DCONFIG_GOLIOTH_SAMPLE_FW_VERSION=\"1.2.4\"
I tested the DFU sample with these changes on the following boards:
Notable
I don't think this will affect the twister testing. I looked at the approach in the pytest files and it seems that the
CONFIG_MCUBOOT_IMAGE_VERSION
is being patched directly once the.config
file is already generated. However, I have not run the Twister test on these changes.