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 arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
lx7 arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
xtensa arch/xtensa: remove the use of XCHAL_SYSCALL_LEVEL 2026-01-23 10:52:43 +08:00
.gitignore
arch.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
elf.h xtensa: support coredump by register set alignment 2024-12-13 18:21:37 +08:00
inttypes.h arch: xtensa: fix INT32_C macro to match int32_t type 2026-02-02 10:47:55 +08:00
irq.h arch: rename STACK_ALIGNMENT to STACKFRAME_ALIGN across all architectures 2026-01-22 15:37:24 +08:00
limits.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
loadstore.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
setjmp.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
simcall.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
spinlock.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
stdarg.h arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
syscall.h xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
types.h arch/xtensa: use compiler's definition of uint32 and int32 2025-04-18 09:32:58 +08:00