summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/panic.rst
blob: 115eba5bde160a8d2d8e02a3954a1fdc650a811c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.. SPDX-License-Identifier: GPL-2.0+:

panic command
=============

Synopis
-------

::

    panic [message]

Description
-----------

Display a message and reset the board.

message
    text to be displayed

Examples
--------

::

    => panic 'Unrecoverable error'
    Unrecoverable error
    resetting ...

Configuration
-------------

If CONFIG_PANIC_HANG=y, the user has to reset the board manually.