summaryrefslogtreecommitdiff
path: root/cmake/cortex_a5x.cmake
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-10-02 10:42:44 -0400
committerGitHub <[email protected]>2026-10-02 10:42:44 -0400
commit93387b0a60382a29579bbad5045c68328e3751df (patch)
tree42be790d602cb76f55090e5a7c418df7ea2b3428 /cmake/cortex_a5x.cmake
parent44d7c95c582d415c4ad84527180b29c93c3bf664 (diff)
parent28281cd5647d4671236ca08d19bd18ed15b2265a (diff)
Merge pull request #783 from eclipse-threadx/devv6.5.2.202603_rel
Merged changes ahead of the v6.5.2.202603 release
Diffstat (limited to 'cmake/cortex_a5x.cmake')
-rw-r--r--cmake/cortex_a5x.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/cmake/cortex_a5x.cmake b/cmake/cortex_a5x.cmake
new file mode 100644
index 00000000..b212cb87
--- /dev/null
+++ b/cmake/cortex_a5x.cmake
@@ -0,0 +1,20 @@
+# Copyright (c) 2026 Eclipse ThreadX contributors
+# SPDX-License-Identifier: MIT
+# Portions of this file were generated with AI assistance.
+#
+# Toolchain file for the Arm Cortex-A5x SMP port using GNU tools. That port
+# targets the family rather than one core: its readme and example name A53,
+# A55 and A57, so -mcpu selects Cortex-A53, the baseline of the three.
+
+# Name of the target
+set(CMAKE_SYSTEM_NAME Generic)
+set(CMAKE_SYSTEM_PROCESSOR cortex-a53)
+
+set(THREADX_ARCH "cortex_a5x")
+set(THREADX_TOOLCHAIN "gnu")
+
+set(MCPU_FLAGS "-mcpu=cortex-a53")
+set(VFP_FLAGS "")
+set(SPEC_FLAGS "--specs=nosys.specs")
+
+include(${CMAKE_CURRENT_LIST_DIR}/aarch64-none-elf.cmake)