nuttx/arch
hujun5 50fa810de9 fix compile error
CC:  pthread/pthread_exit.c common/espressif/esp_lowputc.c: In function 'esp_lowputc_disable_all_uart_int':
common/espressif/esp_lowputc.c:215:29: error: passing argument 1 of 'spin_lock_irqsave' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  215 |   flags = spin_lock_irqsave(&priv->lock);
      |                             ^~~~~~~~~~~
In file included from common/espressif/esp_lowputc.c:40:
/home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:511:55: note: expected 'volatile spinlock_t *' {aka 'volatile unsigned int *'} but argument is of type 'const spinlock_t *' {aka 'const unsigned int *'}
  511 | irqstate_t spin_lock_irqsave(FAR volatile spinlock_t *lock)
      |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~
common/espressif/esp_lowputc.c:232:26: error: passing argument 1 of 'spin_unlock_irqrestore' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  232 |   spin_unlock_irqrestore(&priv->lock, flags);
      |                          ^~~~~~~~~~~
/home/hujun5/下载/vela_sim/nuttx/include/nuttx/spinlock.h:674:54: note: expected 'volatile spinlock_t *' {aka 'volatile unsigned int *'} but argument is of type 'const spinlock_t *' {aka 'const unsigned int *'}
  674 | void spin_unlock_irqrestore(FAR volatile spinlock_t *lock,

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-12-28 11:35:25 +08:00
..
arm imx_gpio: use small lock in arch/arm/src/imx6/imx_gpio.c 2024-12-19 19:20:19 +08:00
arm64 arm64: fix tpidr maybe null 2024-12-28 11:33:28 +08:00
avr modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
ceva modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
dummy
hc modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
mips modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
misoc modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
or1k modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
renesas remove big lock in arch_phy_irq 2024-12-19 19:20:19 +08:00
risc-v fix compile error 2024-12-28 11:35:25 +08:00
sim arch/sim/src/nuttx-names.in: Add pipe2 2024-12-28 11:33:57 +08:00
sparc modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
tricore debug symbol level: Use config instead 2024-12-04 22:36:45 +08:00
x86 modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
x86_64 modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
xtensa modifyreg16: use small lock in modifyreg16 2024-12-19 19:20:19 +08:00
z16 remove redundant judgments *running_task != NULL 2024-12-04 22:50:08 +08:00
z80 remove redundant judgments *running_task != NULL 2024-12-04 22:50:08 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig armv7/8m: fix regresion from https://github.com/apache/nuttx/pull/14881 2024-12-09 21:20:06 +08:00