blob: 39d32adbc990ec69d70d25941246f6d6a0f53247 [file] [log] [blame]
Heinrich Schuchardtdb628432023-03-03 22:48:27 +01001.. SPDX-License-Identifier: GPL-2.0+:
2
Heinrich Schuchardt1b0c3162024-01-14 14:53:13 +01003.. index::
4 single: panic (command)
5
Heinrich Schuchardtdb628432023-03-03 22:48:27 +01006panic command
7=============
8
Heinrich Schuchardte1748c12024-03-16 11:09:36 +01009Synopsis
10--------
Heinrich Schuchardtdb628432023-03-03 22:48:27 +010011
12::
13
14 panic [message]
15
16Description
17-----------
18
19Display a message and reset the board.
20
21message
22 text to be displayed
23
24Examples
25--------
26
27::
28
29 => panic 'Unrecoverable error'
30 Unrecoverable error
31 resetting ...
32
33Configuration
34-------------
35
36If CONFIG_PANIC_HANG=y, the user has to reset the board manually.