Skip to content

Conversation

@MirkoCovizzi
Copy link
Contributor

@MirkoCovizzi MirkoCovizzi commented Nov 24, 2025

Depends on: #501

TODOs:

  • Fix event clear bug

@MirkoCovizzi MirkoCovizzi self-assigned this Nov 24, 2025
@MirkoCovizzi MirkoCovizzi requested review from a team and rghaddab as code owners November 24, 2025 15:16
@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Nov 24, 2025
@github-actions
Copy link

You can find the documentation preview for this PR here.

@MirkoCovizzi MirkoCovizzi added this to the v1.0.0 milestone Nov 24, 2025
@MirkoCovizzi MirkoCovizzi changed the title subsys: fs: bm_zms: remove bm_zms_register subsys: fs: bm_zms: remove bm_zms_register and fix event clear bug Nov 24, 2025

* Removed:

* The :kconfig:option:`CONFIG_BM_ZMS_MAX_USERS` 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 :kconfig:option:`CONFIG_BM_ZMS_MAX_USERS` Kconfig option.
* The ``CONFIG_BM_ZMS_MAX_USERS`` Kconfig option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This refers to a commit belonging to a different PR #485

Copy link

Choose a reason for hiding this comment

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

This refers to a commit belonging to a different PR #485

But the Kconfig option is going to be removed anyway, right. So we can have it without :kconfig:option: as it will not link to the Kconfig reference anymore, if it ever did.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I addressed it in the original PR :) this is just building on top of those commits

Comment on lines 146 to 147
* The :c:member:`bm_zms_init_flags.cb_registred` member as it was not used anymore.
* The :c:func:`bm_zms_register` function.
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 :c:member:`bm_zms_init_flags.cb_registred` member as it was not used anymore.
* The :c:func:`bm_zms_register` function.
* The ``bm_zms_init_flags.cb_registred`` member as it was not used anymore.
* The ``bm_zms_register`` function.

* Removes typedefs

* Renames `BM_ZMS_EVT_INIT` to `BM_ZMS_EVT_MOUNT`

* Renames `bm_zms_evt.evt_id` to `bm_zms_evt.evt_type`

* Removes hungarian notation

* Improves doxygen

* Other misc cleanup

Signed-off-by: Mirko Covizzi <mirko.covizzi@nordicsemi.no>
* 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>
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