Skip to content
Snippets Groups Projects
Commit 980947c4 authored by Thibaut VIARD's avatar Thibaut VIARD Committed by Cristian Maglie
Browse files

Adding breakpoints in handlers for DEBUG mode

parent 30d38613
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,8 @@ void Dummy_Handler(void);
#if defined DEBUG
void HardFault_Handler( void )
{
__BKPT( 3 ) ;
while ( 1 )
{
}
......@@ -386,6 +388,10 @@ void Reset_Handler( void )
*/
void Dummy_Handler( void )
{
#if defined DEBUG
__BKPT( 3 ) ;
#endif // DEBUG
while ( 1 )
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment