blob: ba5ea626108c65ae3f6f90b3c8319d33da89003e [file] [log] [blame]
.. SPDX-License-Identifier: GPL-2.0+:
.. index::
single: panic (command)
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.