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

[Backport v2.9-branch] [nrf fromtree] Add factory reset event #575

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

adigie
Copy link
Member

@adigie adigie commented Mar 14, 2025

Add kFactoryReset event and post it at the beginning of ScheduleFactoryReset.

Fixes KRKNWK-20041

* Add factory reset event

Add `kFactoryReset` event and post it at the beginning of
`ScheduleFactoryReset`.

This event may be useful to application as it provides clean way to
perform additional cleanup steps during factory reset.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Add unit test for factory reset event

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Implement event handling for fake Linux target

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

---------

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
(cherry picked from commit cde93c02141e5e44c514d39bfb0c18851798db6a)
@jukkar jukkar merged commit ba1d7cf into nrfconnect:v2.9-branch Mar 17, 2025
7 checks passed
@adigie adigie deleted the backport-572-to-v2.9-branch branch March 17, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants