Skip to content

Conversation

@MirkoCovizzi
Copy link
Contributor

@MirkoCovizzi MirkoCovizzi commented Nov 25, 2025

This PR merges the following changes:

#504
#490
#502
#488

* Removes `bm_zms_register` and moves the event
  handler configuration into `bm_zms_fs_config`.

* Renames the `bm_zms_cb_t` type to `bm_zms_evt_handler_t`.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
@MirkoCovizzi MirkoCovizzi self-assigned this Nov 25, 2025
@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Nov 25, 2025
@github-actions
Copy link

You can find the documentation preview for this PR here.

@MirkoCovizzi MirkoCovizzi force-pushed the zms-release branch 3 times, most recently from 78aaa37 to f26ed91 Compare November 25, 2025 21:03
@MirkoCovizzi MirkoCovizzi added this to the v1.0.0 milestone Nov 25, 2025
@MirkoCovizzi MirkoCovizzi force-pushed the zms-release branch 4 times, most recently from 4f04aa2 to 4c6f09c Compare November 25, 2025 22:36
Fixes a bug where `BM_ZMS_EVT_CLEAR` events would
not be propagated because the event handler was
being nullified before sending the event.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
* Updates the sample to wait for event notifications.

* Adds a mount and clear at the beginning of the sample
  to reset the state of the storage partition in case
  of errors.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
Adds native sim backend, to be used for ztests.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
@MirkoCovizzi MirkoCovizzi force-pushed the zms-release branch 2 times, most recently from b26f996 to 5391f43 Compare November 25, 2025 23:09
@MirkoCovizzi MirkoCovizzi marked this pull request as ready for review November 25, 2025 23:09
@MirkoCovizzi MirkoCovizzi requested review from a team and rghaddab as code owners November 25, 2025 23:09
Comment on lines +147 to +150
* The ``bm_zms_register`` function.
The event handler configuration is now done with the struct :c:struct:`bm_zms_fs_config`.

* Removed the selection of the :kconfig:option:`CONFIG_EXPERIMENTAL` Kconfig option.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The ``bm_zms_register`` function.
The event handler configuration is now done with the struct :c:struct:`bm_zms_fs_config`.
* Removed the selection of the :kconfig:option:`CONFIG_EXPERIMENTAL` Kconfig option.
* The ``bm_zms_register`` function.
The event handler configuration is now done with the struct :c:struct:`bm_zms_fs_config`.
* The selection of the :kconfig:option:`CONFIG_EXPERIMENTAL` Kconfig option.

@MirkoCovizzi MirkoCovizzi force-pushed the zms-release branch 2 times, most recently from 27802f7 to a8eba9a Compare November 26, 2025 10:05
* Updates the ztest to include the native_sim board target.

* Fixes some configuration bugs in the test suite.

* Fixes a bug where `bm_zms_clear` was not waited on
  until completion.

* Refactor to wait for notifications.

* Other cleanups.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
Removes experimental flagging.

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
debug

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants