nuttx/arch/arm/src/stm32l5
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 include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
chip.h
Kconfig arch: arm: stm32, stm32h7, stm32l5: Fix typos in KConfig help texts 2021-07-25 14:16:22 -03:00
Make.defs arch/cortex-m/Make.defs: unify arch common source include 2022-04-30 21:50:16 +08:00
README.txt
stm32l5_allocateheap.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l5_dbgmcu.h
stm32l5_dumpgpio.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32l5_exti_gpio.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l5_exti.h
stm32l5_flash.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32l5_flash.h
stm32l5_gpio.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32l5_gpio.h arch: arm: stm32, stm32f0l0g0, stm32h7, stm32l4, stm32l5: Fix typos. 2021-07-25 14:16:22 -03:00
stm32l5_idle.c
stm32l5_irq.c arch/arm: Replace xxx_[bus|usage]fault with arm_[bus|usage]fault 2022-10-30 16:03:35 +01:00
stm32l5_lowputc.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32l5_lowputc.h
stm32l5_lse.c Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
stm32l5_lsi.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32l5_mpuinit.c
stm32l5_mpuinit.h
stm32l5_pwr.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32l5_pwr.h
stm32l5_rcc.c Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
stm32l5_rcc.h arch/arm: fix conditional compilation term (#else) 2022-09-23 01:36:08 +08:00
stm32l5_serial.c power: add PM_IDLE_DOMAIN to pm.h and remove definations 2022-07-29 11:15:40 +08:00
stm32l5_spi.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
stm32l5_spi.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l5_start.c arch: Change the linker generated symbols from uint32_t to uint8_t * 2022-09-24 21:26:56 +02:00
stm32l5_start.h
stm32l5_tim_lowerhalf.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l5_tim.c arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l5_tim.h arch/arm: Remove FAR and CODE from chip folder(3) 2022-05-03 16:50:52 +03:00
stm32l5_timerisr.c Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
stm32l5_uart.h
stm32l5_uid.c
stm32l5_uid.h
stm32l5_userspace.c
stm32l5_userspace.h
stm32l5_waste.c
stm32l5_waste.h
stm32l5.h
stm32l562xx_rcc.c

This is a port of NuttX to the STM32L5 Family

Used development boards are the Nucleo L552ZE-Q, and STM32L562E-DK.

Most code is copied and adapted from the STM32L4 port.

The only supported STM32L5 family currently is:

-----------------------------------------------------------------
| NuttX config      | Manual | Chips
| STM32L5           | RM0438 | STM32L552xx and STM32L562xx
------------------------------------------------------------------

TODO list
---------

Extensive testing.  Only initial sniff tests have been done.
A prober TODO list should be generated.