arch/arm/src/imxrt/imxrt_irq.c: Fix syslog formats
This commit is contained in:
parent
c3092f3699
commit
985a7ad227
@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <debug.h>
|
||||
|
||||
@ -230,7 +231,8 @@ static int imxrt_nmi(int irq, FAR void *context, FAR void *arg)
|
||||
static int imxrt_busfault(int irq, FAR void *context, FAR void *arg)
|
||||
{
|
||||
up_irq_save();
|
||||
_err("PANIC!!! Bus fault received: %08x\n", getreg32(NVIC_CFAULTS));
|
||||
_err("PANIC!!! Bus fault received: %08" PRIx32 "\n",
|
||||
getreg32(NVIC_CFAULTS));
|
||||
PANIC();
|
||||
return 0;
|
||||
}
|
||||
@ -238,7 +240,8 @@ static int imxrt_busfault(int irq, FAR void *context, FAR void *arg)
|
||||
static int imxrt_usagefault(int irq, FAR void *context, FAR void *arg)
|
||||
{
|
||||
up_irq_save();
|
||||
_err("PANIC!!! Usage fault received: %08x\n", getreg32(NVIC_CFAULTS));
|
||||
_err("PANIC!!! Usage fault received: %08" PRIx32 "\n",
|
||||
getreg32(NVIC_CFAULTS));
|
||||
PANIC();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user