From f32eb074878353dfbb631a932950ea69f81d4b7d Mon Sep 17 00:00:00 2001 From: HiFiPhile Date: Tue, 23 Apr 2024 21:38:04 +0200 Subject: [PATCH] stm32u5: fix IAR build. --- hw/bsp/stm32u5/family.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/bsp/stm32u5/family.c b/hw/bsp/stm32u5/family.c index d7258a717..ec64f7622 100644 --- a/hw/bsp/stm32u5/family.c +++ b/hw/bsp/stm32u5/family.c @@ -249,7 +249,7 @@ uint32_t board_millis(void) { #endif void HardFault_Handler(void) { - asm("bkpt"); + asm("bkpt 1"); } // Required by __libc_init_array in startup code if we are compiling using