-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fw_update: add package name Kconfig symbol #711
Conversation
Visit the preview URL for this PR (updated for commit 448a9dd): https://golioth-firmware-sdk-doxygen-dev--pr711-szczys-kconfig-qb8cij7g.web.app (expires Tue, 14 Jan 2025 19:32:56 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a9993e61697a3983f3479e468bcb0b616f9a0578 |
f9046b4
to
6ab9a76
Compare
Codecov ReportAttention: Patch coverage is
|
default "main" | ||
help | ||
The Package Name used by the Golioth Cloud to indicate the binary to use for device firmware | ||
update. This name must be no more than GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN characters in length. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a static assert to enforce this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
61b8b3d
to
1fcd5ac
Compare
Add GOLIOTH_FW_UPDATE_PACKAGE_NAME kconfig symbol. Previously the package name used by the fw_update module was hardcoded in the header file. Make this value configurable so it may be used programmatically at build time. Signed-off-by: Mike Szczys <[email protected]>
Initialize status variable during declaration to avoid it being used uninitialized. Signed-off-by: Mike Szczys <[email protected]>
1fcd5ac
to
448a9dd
Compare
Add Kconfig symbol: CONFIG_GOLIOTH_FW_UPDATE_PACKAGE_NAME
Previously the package name used by the fw_update module was hardcoded in the header file. Make this value configurable so it may be used programmatically at build time.