nuttx-mirror/arch
Huang Qi 1b8d5a4367 arch/risc-v: Refactor LLVM CPU type handling in Toolchain.cmake
- Replace direct string comparisons with regex pattern matching for ARCHCPUEXTFLAGS
- Change from using LLVM_CPUFLAGS list to setting LLVM_CPUTYPE directly
- Simplify CPU type detection logic while maintaining same functionality
- Use more consistent string variable naming convention

This change makes the CPU type detection more flexible and maintainable
while keeping the same behavior for supported RISC-V configurations.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-10 02:06:19 +08:00
..
arm Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
arm64 Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
avr arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
ceva arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
dummy arch: Add custom arch chip build support 2020-10-20 14:48:16 +08:00
hc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
mips arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
renesas up_rtc_gettime: add spinlock to protect up_rtc_gettime 2025-01-06 23:07:58 +08:00
risc-v arch/risc-v: Refactor LLVM CPU type handling in Toolchain.cmake 2025-01-10 02:06:19 +08:00
sim Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
sparc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
tricore arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
x86 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
x86_64 Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
xtensa Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00