Skip to content
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

dfu: Add custom device update #21075

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mathijsmeulendijks
Copy link

This pull request introduces support for custom firmware upgrades to the DFU (Device Firmware Update) target library. The changes include updates to documentation, configuration options, and the addition of a new header file for custom DFU target implementation.

Configuration Updates:

  • Introduced a new Kconfig option CONFIG_DFU_TARGET_CUSTOM to enable support for custom updates.

Support for Custom DFU Targets:

  • Added a new header file include/dfu/dfu_target_custom.h with function declarations for custom DFU target implementation.
  • Updated include/dfu/dfu_target.h to include a new image type DFU_TARGET_IMAGE_TYPE_CUSTOM for custom updates. [1] [2]
  • Modified subsys/dfu/dfu_target/src/dfu_target.c to support the new custom DFU target by including the custom header and adding logic for identifying and initializing custom updates. [1] [2] [3]Adds a custom device update option to the DFU subsystem
    Signed-off-by: Mathijs Meulendijks mathijs.meulendijks@unitial.tech

Adds a custom device update option to the DFU subsystem
Signed-off-by: Mathijs Meulendijks <mathijs.meulendijks@unitial.tech>
@mathijsmeulendijks mathijsmeulendijks requested review from a team as code owners March 20, 2025 14:58
@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Mar 20, 2025
@NordicBuilder
Copy link
Contributor

Thank you for your contribution!
It seems you are not a member of the nrfconnect GitHub organization. External contributions are handled as follows:
Large contributions, affecting multiple subsystems for example, may be rejected if they are complex, may introduce regressions due to lack of test coverage, or if they are not consistent with the architecture of nRF Connect SDK.
PRs will be run in our continuous integration (CI) test system.
If CI passes, PRs will be tagged for review and merged on successful completion of review. You may be asked to make some modifications to your contribution during review.
If CI fails, PRs may be rejected or may be tagged for review and rework.
PRs that become outdated due to other changes in the repository may be rejected or rework requested.
External contributions will be prioritized for review based on the relevance to current development efforts in nRF Connect SDK. Bug fix PRs will be prioritized.
You may raise issues or ask for help from our Technical Support team by visiting https://devzone.nordicsemi.com/.

Note: This comment is automatically posted and updated by the Contribs GitHub Action.

@NordicBuilder NordicBuilder added the external External contribution label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval. external External contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants