aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTTornblom <thomas.tornblom@iar.com>2020-02-04 16:15:08 +0100
committerTTornblom <thomas.tornblom@iar.com>2020-04-23 12:18:51 +0200
commitc29a77b02342c9e730828cf01d723f1c47b8c31a (patch)
tree2c959b71a7576956133dd400ddcedaac0b8e5f48 /cmake
parente3ef1fdfd3b657df42fe87f5753c5d2bc4569082 (diff)
downloadtrusted-firmware-m-c29a77b02342c9e730828cf01d723f1c47b8c31a.tar.gz
Build: Added more targets for IAR builds
- Added AN519, AN521, AN524, AN539 and SSE-200_AWS targets. - Verified on: AN519, AN521, AN524, AN539, Musca A. - SSE-200AWS builds but is untested due to lack of HW. - Musca B1 and Musca S1 not yet supported due to lack of HW. - All targets fails the NaN QCBOR tests due to the tests not following the Arm ABI. Change-Id: I422ed7a85e09f895d781309d17166b81be954943 Signed-off-by: TTornblom <thomas.tornblom@iar.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Common/CompilerIarArm842.cmake2
-rw-r--r--cmake/Common/CompilerIarArm850.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Common/CompilerIarArm842.cmake b/cmake/Common/CompilerIarArm842.cmake
index 7d5c4225e..378774d5c 100644
--- a/cmake/Common/CompilerIarArm842.cmake
+++ b/cmake/Common/CompilerIarArm842.cmake
@@ -52,7 +52,7 @@ if(NOT DEFINED ARM_CPU_ARCHITECTURE)
string_append_unique_item (CMAKE_C_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
string_append_unique_item (CMAKE_CXX_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
string_append_unique_item (CMAKE_ASM_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
- string_append_unique_item (CMAKE_LINK_FLAGS_CPU "--cpu Cortex-M3.no_dsp3")
+ string_append_unique_item (CMAKE_LINK_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
elseif(${ARM_CPU_TYPE} STREQUAL "Cortex-M23")
string_append_unique_item (CMAKE_C_FLAGS_CPU "--cpu Cortex-M23")
string_append_unique_item (CMAKE_CXX_FLAGS_CPU "--cpu Cortex-M23")
diff --git a/cmake/Common/CompilerIarArm850.cmake b/cmake/Common/CompilerIarArm850.cmake
index bf40e6452..dfa9a36d8 100644
--- a/cmake/Common/CompilerIarArm850.cmake
+++ b/cmake/Common/CompilerIarArm850.cmake
@@ -52,7 +52,7 @@ if(NOT DEFINED ARM_CPU_ARCHITECTURE)
string_append_unique_item (CMAKE_C_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
string_append_unique_item (CMAKE_CXX_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
string_append_unique_item (CMAKE_ASM_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
- string_append_unique_item (CMAKE_LINK_FLAGS_CPU "--cpu Cortex-M3.no_dsp3")
+ string_append_unique_item (CMAKE_LINK_FLAGS_CPU "--cpu Cortex-M33.no_dsp")
elseif(${ARM_CPU_TYPE} STREQUAL "Cortex-M23")
string_append_unique_item (CMAKE_C_FLAGS_CPU "--cpu Cortex-M23")
string_append_unique_item (CMAKE_CXX_FLAGS_CPU "--cpu Cortex-M23")