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 | ||
kinetis_alarm.h | ||
kinetis_allocateheap.c | ||
kinetis_cfmconfig.c | ||
kinetis_clockconfig.c | ||
kinetis_clrpend.c | ||
kinetis_config.h | ||
kinetis_edma.c | ||
kinetis_edma.h | ||
kinetis_enet.c | ||
kinetis_flexcan.c | ||
kinetis_i2c.c | ||
kinetis_i2c.h | ||
kinetis_idle.c | ||
kinetis_irq.c | ||
kinetis_lowputc.c | ||
kinetis_lpserial.c | ||
kinetis_lpuart.h | ||
kinetis_mpuinit.c | ||
kinetis_mpuinit.h | ||
kinetis_pin.c | ||
kinetis_pindma.c | ||
kinetis_pindump.c | ||
kinetis_pingpio.c | ||
kinetis_pinirq.c | ||
kinetis_pwm.c | ||
kinetis_pwm.h | ||
kinetis_rtc_if.h | ||
kinetis_rtc_lowerhalf.c | ||
kinetis_rtc.c | ||
kinetis_sdhc.c | ||
kinetis_serial.c | ||
kinetis_serialinit.c | ||
kinetis_spi.c | ||
kinetis_spi.h | ||
kinetis_start.c | ||
kinetis_start.h | ||
kinetis_timerisr.c | ||
kinetis_tpm.h | ||
kinetis_uart.h | ||
kinetis_uid.c | ||
kinetis_uid.h | ||
kinetis_usbdev.c | ||
kinetis_usbhshost.c | ||
kinetis_usbhshost.h | ||
kinetis_usbotg.h | ||
kinetis_userspace.c | ||
kinetis_userspace.h | ||
kinetis_wdog.c | ||
kinetis.h | ||
Make.defs |