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 | ||
eoss3_clockconfig.c | ||
eoss3_clockconfig.h | ||
eoss3_gpio.c | ||
eoss3_gpio.h | ||
eoss3_idle.c | ||
eoss3_irq.c | ||
eoss3_lowputc.c | ||
eoss3_lowputc.h | ||
eoss3_serial.c | ||
eoss3_start.c | ||
eoss3_start.h | ||
eoss3_timerisr.c | ||
eoss3.h | ||
Kconfig | ||
Make.defs |