You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applications: nrf_desktop: failsafe: migrate to Zephyr hwinfo driver
Updated the nRF Desktop Failsafe module to use the Zephyr HWinfo
driver as its dependency instead of relying on the nrfx reset reason
helper.
Ref: NCSDK-25090
Signed-off-by: Kamil Piszczek <[email protected]>
Copy file name to clipboardExpand all lines: applications/nrf_desktop/doc/failsafe.rst
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,3 +33,9 @@ Additionally, make sure that the following options are set as follows:
33
33
This is to ensure that the device will be blocked after a fatal error and then the watchdog will trigger the reboot.
34
34
35
35
After the reboot caused either by the watchdog or by the CPU lockup, the failsafe module erases the settings partition and clears the non-volatile settings data.
36
+
37
+
Implementation details
38
+
**********************
39
+
40
+
The failsafe module uses the Zephyr :ref:`zephyr:hwinfo_api` driver.
41
+
The module gets the reset reason information with the :c:func:`hwinfo_get_reset_cause` function and clears it with the :c:func:`hwinfo_clear_reset_cause` function.
Copy file name to clipboardExpand all lines: doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,10 @@ nRF5340 Audio
198
198
nRF Desktop
199
199
-----------
200
200
201
-
|no_changes_yet_note|
201
+
* Updated:
202
+
203
+
* The :ref:`nrf_desktop_failsafe` to use the Zephyr :ref:`zephyr:hwinfo_api` driver for getting and clearing the reset reason information (see the :c:func:`hwinfo_get_reset_cause` and :c:func:`hwinfo_clear_reset_cause` functions).
204
+
The Zephyr :ref:`zephyr:hwinfo_api` driver replaces the nrfx reset reason helper dependency (see the :c:func:`nrfx_reset_reason_get` and :c:func:`nrfx_reset_reason_clear` functions).
0 commit comments