mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
update readme about automated crash with GDBStub
This commit is contained in:
committed by
Ivan Grokhotkov
parent
8c7d1b780e
commit
fed925149b
@ -34,11 +34,11 @@ Using GDB stub
|
|||||||
Tips and tricks
|
Tips and tricks
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
- To halt the target when software WDT fires, add
|
- Upon including GDBStub.h in the sketch, the target is automatically halted when software WDT fires, with
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
((int*)0) = 0;
|
*((int*)0) = 0;
|
||||||
|
|
||||||
at the top of ``__wrap_system_restart_local`` in
|
at the top of ``__wrap_system_restart_local`` in
|
||||||
core\_esp8266\_postmortem.c.
|
core\_esp8266\_postmortem.c.
|
||||||
|
Reference in New Issue
Block a user