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