aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliodek01 <lior.dekel@arm.com>2021-06-30 12:48:31 +0300
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-06-30 13:35:27 +0000
commitcbf1d6dced259afec30d8b3adb8838956a7ecb95 (patch)
tree492393b21254a7135d22b511433beab173f10ebf
parenta2f95d446db3252ce95aa573e6465cd3163e18b3 (diff)
downloadethos-u-core-platform-cbf1d6dced259afec30d8b3adb8838956a7ecb95.tar.gz
Adding assembly compiler to toolchain files
Change-Id: I4530ab1aa336ae4fc487745279f74ae4ebebe3d1
-rw-r--r--cmake/toolchain/arm-none-eabi-gcc.cmake1
-rw-r--r--cmake/toolchain/armclang.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmake/toolchain/arm-none-eabi-gcc.cmake b/cmake/toolchain/arm-none-eabi-gcc.cmake
index b0a27fd..701824f 100644
--- a/cmake/toolchain/arm-none-eabi-gcc.cmake
+++ b/cmake/toolchain/arm-none-eabi-gcc.cmake
@@ -20,6 +20,7 @@ set(TARGET_CPU "cortex-m4" CACHE STRING "Target CPU")
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER "arm-none-eabi-gcc")
+set(CMAKE_ASM_COMPILER "arm-none-eabi-gcc")
set(CMAKE_CXX_COMPILER "arm-none-eabi-g++")
# Convert TARGET_CPU=Cortex-M33+nofp+nodsp into
diff --git a/cmake/toolchain/armclang.cmake b/cmake/toolchain/armclang.cmake
index 3fdc3a8..25c510c 100644
--- a/cmake/toolchain/armclang.cmake
+++ b/cmake/toolchain/armclang.cmake
@@ -21,6 +21,7 @@ set(TARGET_CPU "cortex-m4" CACHE STRING "Target CPU")
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER "armclang")
set(CMAKE_CXX_COMPILER "armclang")
+set(CMAKE_ASM_COMPILER "armclang")
set(CMAKE_LINKER "armlink")
# Convert TARGET_CPU=Cortex-M33+nofp+nodsp into