summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-04-23 21:38:04 +0200
committerhathach <[email protected]>2024-04-25 11:51:06 +0700
commitf32eb074878353dfbb631a932950ea69f81d4b7d (patch)
tree3cab67640ef75ce6cf10fc0ace4ad0af81310581
parent13bde7af403c4f6f3ff6381e23202fc433bffdb2 (diff)
stm32u5: fix IAR build.
-rw-r--r--hw/bsp/stm32u5/family.c2
1 files changed, 1 insertions, 1 deletions
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