-
Notifications
You must be signed in to change notification settings - Fork 28
DFU: support for App -> Loader ADV name setup over settings retention backend #495
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
base: main
Are you sure you want to change the base?
Conversation
|
You can find the documentation preview for this PR here. |
|
89e616c to
bd2732d
Compare
7dde0be to
aaa5c05
Compare
c2e85d1 to
fca3dfa
Compare
fca3dfa to
cfc5daa
Compare
| @@ -0,0 +1,18 @@ | |||
| # | |||
| # Copyright (c) 2023 Nordic Semiconductor ASA | |||
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.
| # Copyright (c) 2023 Nordic Semiconductor ASA | |
| # Copyright (c) 2025 Nordic Semiconductor ASA |
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.
this was copied from zephtr-rtos. What time stamp should be there.
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.
this was copied from zephtr-rtos. What time stamp should be there.
Up to you.
doc/nrf-bm/app_dev/dfu/dfu_name.rst
Outdated
| 1. | ||
| To enable this feature for a sysbuild project, use the :kconfig:option:`SB_CONFIG_BM_APP_CAN_SETUP_FIRMWARE_LOADER_NAME` Kconfig option. | ||
| Otherwise, enable the following Kconfig options in both the application and the firmware loader configuration: |
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.
| 1. | |
| To enable this feature for a sysbuild project, use the :kconfig:option:`SB_CONFIG_BM_APP_CAN_SETUP_FIRMWARE_LOADER_NAME` Kconfig option. | |
| Otherwise, enable the following Kconfig options in both the application and the firmware loader configuration: | |
| To enable this feature for a sysbuild project, use the :kconfig:option:`SB_CONFIG_BM_APP_CAN_SETUP_FIRMWARE_LOADER_NAME` Kconfig option. | |
| Also enable the following Kconfig options in both the application and the firmware loader configuration: |
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.
Otherwise - Alternatively?
I mean that actually SB_CONFIG_BM_APP_CAN_SETUP_FIRMWARE_LOADER_NAME enables all of these CONFIG_xyx.
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.
Alternatively sounds better.
doc/nrf-bm/app_dev/dfu/dfu_name.rst
Outdated
| * :kconfig:option:`CONFIG_SETTINGS_RETENTION`- Enables retention backend implementation of settings subsystem. | ||
| * :kconfig:option:`CONFIG_NCS_BM_SETTINGS_BLUETOOTH_NAME`- Enables setting handlers required for Bluetooth name sharing support. | ||
|
|
||
| #. |
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.
| #. |
doc/nrf-bm/app_dev/dfu/dfu_name.rst
Outdated
| Usage example | ||
| ************* | ||
|
|
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.
| Usage example | |
| ************* |
4308f64 to
699da59
Compare
peknis
left a comment
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.
Approved with a couple of nits.
| ******************** | ||
|
|
||
| To enable this feature for a sysbuild project, use the :kconfig:option:`SB_CONFIG_BM_APP_CAN_SETUP_FIRMWARE_LOADER_NAME` Kconfig option. | ||
| Otherwise, enable the following Kconfig options in both the application and the firmware loader configuration: |
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.
| Otherwise, enable the following Kconfig options in both the application and the firmware loader configuration: | |
| Alternatively, enable the following Kconfig options in both the application and the firmware loader configuration: |
| * :kconfig:option:`CONFIG_SETTINGS_RETENTION`- Enables retention backend implementation of settings subsystem. | ||
| * :kconfig:option:`CONFIG_NCS_BM_SETTINGS_BLUETOOTH_NAME`- Enables setting handlers required for Bluetooth name sharing support. | ||
|
|
||
| Additionally, the application must enable the MCUmgr settings group using the following Kconfig options: |
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.
| Additionally, the application must enable the MCUmgr settings group using the following Kconfig options: | |
| Additionally, the application must enable the MCUmgr settings group using the following Kconfig options: | |
| @@ -0,0 +1,18 @@ | |||
| # | |||
| # Copyright (c) 2023 Nordic Semiconductor ASA | |||
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.
this was copied from zephtr-rtos. What time stamp should be there.
Up to you.
Adds a settings subsystem file to add a bluetooth name setting Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Allows usage of this from BM applications Files taken from zephyr commit: 0fe59bf1e4b96122c3467295b09a034e399c5ee6 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Adds code to get bluetooth name from retention backend of the settings subsystem. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Adds code to set bluetooth name to retention settings Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no> Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Added enabler for coherent setup of the BLE name from the application to the firmware loader using the settings subsystem with retention memory backend. Applied usage of this to configuration of the mcuboot_recovery_entry sample and the BLE firmware loader. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Documented feature of setup the firmware loader BLE name by the remote MCUmgr client using the application's MCUmgr and the settings. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> Signed-off-by: Pekka Niskanen <pekka.niskanen@nordicsemi.no>
Assigns this to eris Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
699da59 to
336dcba
Compare


Uh oh!
There was an error while loading. Please reload this page.