summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/stm32l0/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32l0/family.c b/hw/bsp/stm32l0/family.c
index 212415744..a02482da5 100644
--- a/hw/bsp/stm32l0/family.c
+++ b/hw/bsp/stm32l0/family.c
@@ -163,7 +163,7 @@ uint32_t board_millis(void)
void HardFault_Handler (void)
{
- asm("bkpt");
+ __asm("BKPT #0\n");
}
#ifdef USE_FULL_ASSERT