nuttx/arch/arm/src/stm32
Xiang Xiao d1a3f5e47f arch/arm: Replace xxx_[bus|usage]fault with arm_[bus|usage]fault
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>
2022-10-30 16:03:35 +01:00
..
hardware stm32 usbfs: Fix stm32_usbfs and add CONFIG_STM32_USBFS 2022-05-09 10:34:40 +08:00
chip.h
Kconfig stm32/Kconfig: remove the unnecessary option 2022-08-27 20:40:06 +08:00
Make.defs arch/stm32_capture_lowerhalf.c: add lower half support of capture 2022-06-28 10:35:43 +08:00
stm32_1wire.c use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
stm32_1wire.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_adc.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_adc.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_aes.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_aes.h arch: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
stm32_alarm.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_allocateheap.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_bbsram.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_bbsram.h
stm32_bkp.h
stm32_can_sock.c stm32/socketcan: fix the EFF flag for received frames 2022-10-22 17:28:55 +08:00
stm32_can.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_can.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_capture_lowerhalf.c arch/stm32_capture_lowerhalf.c: add lower half support of capture 2022-06-28 10:35:43 +08:00
stm32_capture.c arch/stm32_capture_lowerhalf.c: add lower half support of capture 2022-06-28 10:35:43 +08:00
stm32_capture.h arch/stm32_capture_lowerhalf.c: add lower half support of capture 2022-06-28 10:35:43 +08:00
stm32_ccm.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_ccm.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_comp_v1.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_comp_v1.h
stm32_comp_v2.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_comp_v2.h
stm32_comp.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_comp.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_cordic.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_cordic.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_dac.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_dac.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_dbgmcu.h
stm32_dfumode.c
stm32_dfumode.h include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
stm32_dma2d.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_dma2d.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_dma_v1.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_dma_v1mux.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_dma_v2.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_dma.c
stm32_dma.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_dumpgpio.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_eth.c libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
stm32_eth.h
stm32_exti_alarm.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_exti_gpio.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_exti_pwr.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_exti_pwr.h arch: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
stm32_exti_wakeup.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_exti.h
stm32_fdcan_sock.c include/nuttx/can.h: make error definitions compatible with Linux 2022-10-21 18:47:29 +08:00
stm32_fdcan.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_fdcan.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_flash.c
stm32_flash.h
stm32_fmc.c
stm32_fmc.h
stm32_foc.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_foc.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_freerun.c
stm32_freerun.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_fsmc.c
stm32_fsmc.h
stm32_gpio.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_gpio.h
stm32_hall3ph.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_hall3ph.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_hciuart.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_hciuart.h include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
stm32_hrtim.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_hrtim.h Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_i2c_alt.c use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
stm32_i2c_v2.c use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
stm32_i2c.c use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
stm32_i2c.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_i2s.c arch: Replace critical section with nxmutex in i2c/spi/1wire initialization 2022-10-17 15:59:46 +09:00
stm32_i2s.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_idle.c power: add PM_IDLE_DOMAIN to pm.h and remove definations 2022-07-29 11:15:40 +08:00
stm32_irq.c arch/arm: Replace xxx_[bus|usage]fault with arm_[bus|usage]fault 2022-10-30 16:03:35 +01:00
stm32_iwdg.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_lowputc.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_lowputc.h
stm32_lse.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_lsi.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_ltdc.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_ltdc.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_mpuinit.c stm32:Support CONFIG_MPU_RESET and CONFIG_ARM_MPU_EARLY_RESET 2021-10-23 03:58:26 -05:00
stm32_mpuinit.h
stm32_oneshot_lowerhalf.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_oneshot.c
stm32_oneshot.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_opamp.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_opamp.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_otgfs.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_otgfsdev.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_otgfshost.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_otghs.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_otghsdev.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_otghshost.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_pm.h
stm32_pminitialize.c pm: Move pm_initialize call from driver_initialize to xxx_pminitialize 2022-04-22 14:36:27 +03:00
stm32_pmsleep.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_pmstandby.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_pmstop.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_pwm.c arch/stm32/stm32_pwm.c: cosmetics 2022-08-27 20:40:06 +08:00
stm32_pwm.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_pwr.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_pwr.h
stm32_qencoder.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_qencoder.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_rcc.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_rcc.h arch/armv[6|7|8]-m: Move _vectors to arm_internal.h to avoid the duplication 2022-09-21 22:23:11 +02:00
stm32_rng.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_rtc_lowerhalf.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32_rtc.c
stm32_rtc.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_rtcc.c gmtimer: Fixed range of tm_yday. 2022-10-19 12:39:04 +08:00
stm32_rtcounter.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_sdadc.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_sdadc.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_sdio.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_sdio.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_serial.c power: add PM_IDLE_DOMAIN to pm.h and remove definations 2022-07-29 11:15:40 +08:00
stm32_spi.c sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
stm32_spi.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_start.c arch: Change the linker generated symbols from uint32_t to uint8_t * 2022-09-24 21:26:56 +02:00
stm32_start.h
stm32_syscfg.h
stm32_tickless.c sched: use tick count for sched timer expiration 2022-10-12 11:55:46 +08:00
stm32_tim_lowerhalf.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_tim.c arch/stm32_capture_lowerhalf.c: add lower half support of capture 2022-06-28 10:35:43 +08:00
stm32_tim.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_timerisr.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_uart.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_uid.c
stm32_uid.h include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
stm32_usbdev.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_usbdev.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_usbfs.c stm32 usbfs: Fix stm32_usbfs and add CONFIG_STM32_USBFS 2022-05-09 10:34:40 +08:00
stm32_usbfs.h stm32 usbfs: Fix stm32_usbfs and add CONFIG_STM32_USBFS 2022-05-09 10:34:40 +08:00
stm32_usbhost.c Remove the private NULL, TRUE and FALSE macros 2022-07-31 22:12:57 +03:00
stm32_usbhost.h
stm32_userspace.c
stm32_userspace.h
stm32_waste.c
stm32_waste.h
stm32_wdg.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32_wwdg.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32.h
stm32f10xxf30xx_flash.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32f10xxx_rcc.c
stm32f20xxf40xx_flash.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32f20xxx_rcc.c
stm32f30xxx_rcc.c Fixed non-UTF8 characters. 2022-09-28 09:38:55 +08:00
stm32f33xxx_rcc.c
stm32f37xxx_rcc.c
stm32f40xxx_alarm.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32f40xxx_i2c.c use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
stm32f40xxx_rcc.c arch: Omni Hoverboards: update licenses to Apache 2021-09-28 04:37:38 -07:00
stm32f40xxx_rtcc.c gmtimer: Fixed range of tm_yday. 2022-10-19 12:39:04 +08:00
stm32g4xxxx_rcc.c stm32 usbfs: Fix stm32_usbfs and add CONFIG_STM32_USBFS 2022-05-09 10:34:40 +08:00
stm32l15xx_flash.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32l15xxx_alarm.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l15xxx_rcc.c
stm32l15xxx_rtcc.c gmtimer: Fixed range of tm_yday. 2022-10-19 12:39:04 +08:00