d1a3f5e47f
to fix the following clang warning: Error: chip/eoss3_irq.c:138:47: error: format specifies type 'unsigned int' but the argument has type 'uint32_t' (aka 'unsigned long') [-Werror,-Wformat] _err("PANIC!!! Bus fault received: %08x\n", getreg32(NVIC_CFAULTS)); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~ %08lx /github/workspace/sources/nuttx/include/debug.h:126:57: note: expanded from macro '_err' __arch_syslog(LOG_ERR, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) ~~~~~~ ^~~~~~~~~~~ /github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:134:24: note: expanded from macro 'getreg32' ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: chip/eoss3_irq.c:146:49: error: format specifies type 'unsigned int' but the argument has type 'uint32_t' (aka 'unsigned long') [-Werror,-Wformat] _err("PANIC!!! Usage fault received: %08x\n", getreg32(NVIC_CFAULTS)); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~ %08lx Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> |
||
---|---|---|
.. | ||
hardware | ||
chip.h | ||
Kconfig | ||
Make.defs | ||
s32k3xx_allocateheap.c | ||
s32k3xx_clockconfig.c | ||
s32k3xx_clockconfig.h | ||
s32k3xx_clocknames.h | ||
s32k3xx_clrpend.c | ||
s32k3xx_config.h | ||
s32k3xx_edma.c | ||
s32k3xx_edma.h | ||
s32k3xx_emac.c | ||
s32k3xx_emac.h | ||
s32k3xx_flashboot.c | ||
s32k3xx_flexcan.c | ||
s32k3xx_flexcan.h | ||
s32k3xx_fs26.c | ||
s32k3xx_fs26.h | ||
s32k3xx_idle.c | ||
s32k3xx_irq.c | ||
s32k3xx_irq.h | ||
s32k3xx_lowputc.c | ||
s32k3xx_lowputc.h | ||
s32k3xx_lpi2c.c | ||
s32k3xx_lpi2c.h | ||
s32k3xx_lpspi.c | ||
s32k3xx_lpspi.h | ||
s32k3xx_periphclocks.c | ||
s32k3xx_periphclocks.h | ||
s32k3xx_pin.c | ||
s32k3xx_pin.h | ||
s32k3xx_pindma.c | ||
s32k3xx_pingpio.c | ||
s32k3xx_pinirq.c | ||
s32k3xx_qspi.c | ||
s32k3xx_qspi.h | ||
s32k3xx_serial.c | ||
s32k3xx_serial.h | ||
s32k3xx_start.c | ||
s32k3xx_start.h | ||
s32k3xx_swt.h | ||
s32k3xx_timerisr.c | ||
startup.S |