nuttx/arch/arm/src/lpc43xx
Xiang Xiao 1e696425fd lpc43xx/usb: Fix gcc13.2 compiler error
Error: arch/arm/src/common/arm_internal.h:140:25: error: array subscript 0 is outside array bounds of 'volatile uint32_t[0]' {aka 'volatile long unsigned int[]'} [-Werror=array-bounds=]
  140 | #define getreg32(a)    (*(volatile uint32_t *)(a))
      |                        ~^~~~~~~~~~~~~~~~~~~~~~~~~~
chip/lpc43_usb0dev.c:347:34: note: in expansion of macro 'getreg32'
  347 | #  define lpc43_getreg(addr)     getreg32(addr)
      |                                  ^~~~~~~~
chip/lpc43_usb0dev.c:2605:15: note: in expansion of macro 'lpc43_getreg'
 2605 |   return (int)lpc43_getreg(LPC43_USBDEV_FRINDEX_OFFSET);
      |               ^~~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-19 08:36:49 +08:00
..
hardware Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
spifi Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
chip.h
Kconfig Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
lpc43_adc.c
lpc43_adc.h
lpc43_aes.c
lpc43_allocateheap.c
lpc43_can.c
lpc43_can.h
lpc43_ccu.h
lpc43_cgu.c Fix typos (s/FRQUENCY/FREQUENCY/) 2023-05-13 00:31:26 +08:00
lpc43_cgu.h
lpc43_clrpend.c
lpc43_config.h
lpc43_creg.h
lpc43_crypto.c
lpc43_dac.c
lpc43_dac.h
lpc43_debug.c
lpc43_ehci.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
lpc43_ehci.h
lpc43_emacram.h
lpc43_emc.c
lpc43_emc.h
lpc43_ethernet.c netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
lpc43_ethernet.h
lpc43_gpdma.c
lpc43_gpdma.h
lpc43_gpio.c
lpc43_gpio.h
lpc43_gpioint.c
lpc43_gpioint.h
lpc43_i2c.c
lpc43_i2c.h
lpc43_idle.c
lpc43_irq.c arch/arm:add up_debugpoint api 2023-12-11 08:43:26 -08:00
lpc43_irq.h
lpc43_mpuinit.c
lpc43_mpuinit.h
lpc43_pinconfig.c
lpc43_pinconfig.h
lpc43_rgu.c
lpc43_rgu.h
lpc43_rit.c
lpc43_rit.h
lpc43_rtc.c clock: Move the content of include/nuttx/time.h to include/nuttx/clock.h 2023-06-26 19:14:08 +03:00
lpc43_rtc.h
lpc43_scu.h
lpc43_sdmmc.c Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
lpc43_sdmmc.h
lpc43_serial.c Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
lpc43_serial.h
lpc43_spi.c
lpc43_spi.h
lpc43_spifi.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
lpc43_spifi.h
lpc43_ssp.c
lpc43_ssp.h
lpc43_start.c
lpc43_start.h
lpc43_tickless_rit.c
lpc43_timer.c Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
lpc43_timer.h
lpc43_timerisr.c
lpc43_uart.c
lpc43_uart.h
lpc43_usb0dev.c lpc43xx/usb: Fix gcc13.2 compiler error 2023-12-19 08:36:49 +08:00
lpc43_usb0dev.h
lpc43_usbram.h
lpc43_userspace.c
lpc43_userspace.h
lpc43_wdt.h
lpc43_wwdt.c
Make.defs