nuttx/arch/xtensa/include
Adwait Godbole 5c43ef4eaf arch: xtensa: fix INT32_C macro to match int32_t type
INT32_C(x) is currently defined as x ## ll on Xtensa, which
produces a long long int constant. However, int32_t is
defined as long int on this architecture.

This mismatch can break C++ template overload resolution
and causes build failures in downstream projects such as PX4.

Fix the macro by using x ## l so INT32_C expands to the same
underlying type as int32_t.

Signed-off-by: Adwait Godbole <adwaitngodbole@gmail.com>
2026-02-02 10:47:55 +08:00
..
esp32 arch/xtensa: delete XCHAL_SYSCALL_LEVEL macro definition 2026-01-23 10:52:43 +08:00
esp32s2 arch/xtensa: delete XCHAL_SYSCALL_LEVEL macro definition 2026-01-23 10:52:43 +08:00
esp32s3 arch/xtensa: delete XCHAL_SYSCALL_LEVEL macro definition 2026-01-23 10:52:43 +08:00
lx6
lx7
xtensa arch/xtensa: remove the use of XCHAL_SYSCALL_LEVEL 2026-01-23 10:52:43 +08:00
.gitignore
arch.h
elf.h
inttypes.h arch: xtensa: fix INT32_C macro to match int32_t type 2026-02-02 10:47:55 +08:00
irq.h
limits.h
loadstore.h
setjmp.h
simcall.h
spinlock.h
stdarg.h
syscall.h
types.h