This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new be3cd43a1ee toolchain/armclang: Fix armclang config be3cd43a1ee is described below commit be3cd43a1ee4fc9b95f6ffd6b9d71d1e2cbbd37f Author: wangmingrong1 <wangmingro...@xiaomi.com> AuthorDate: Mon Jul 14 14:33:12 2025 +0800 toolchain/armclang: Fix armclang config In the toolchain, ARCH_TOOLCHAIN_XXX is used to select the compiler to be used. If clang is selected here, subsequent errors will occur Signed-off-by: wangmingrong1 <wangmingro...@xiaomi.com> --- arch/Kconfig | 5 +++++ arch/arm/Kconfig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 1cc404ece9d..fe609c1d69d 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -283,6 +283,11 @@ config ARCH_TOOLCHAIN_GNU bool default n +config ARCH_TOOLCHAIN_ARMCLANG + bool + select ARCH_TOOLCHAIN_GNU + default n + config ARCH_TOOLCHAIN_CLANG bool select ARCH_TOOLCHAIN_GNU diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 71e4d7e44e4..7da93153db6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -45,7 +45,7 @@ config ARM_TOOLCHAIN_CLANG config ARM_TOOLCHAIN_ARMCLANG bool "ARM Compiler Clang toolchain" - select ARCH_TOOLCHAIN_CLANG + select ARCH_TOOLCHAIN_ARMCLANG config ARM_TOOLCHAIN_GHS bool "ARM Compiler Green Hills Software toolchain"