summaryrefslogtreecommitdiff
path: root/cmake/arm11.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/arm11.cmake')
-rw-r--r--cmake/arm11.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/cmake/arm11.cmake b/cmake/arm11.cmake
new file mode 100644
index 00000000..957e1f05
--- /dev/null
+++ b/cmake/arm11.cmake
@@ -0,0 +1,19 @@
+# Copyright (c) 2026 Eclipse ThreadX contributors
+# SPDX-License-Identifier: MIT
+# Portions of this file were generated with AI assistance.
+#
+# Toolchain file for ARM11 using GNU tools. The port readme identifies the
+# target as ARM1136J-S, which is what -mcpu selects.
+
+# Name of the target
+set(CMAKE_SYSTEM_NAME Generic)
+set(CMAKE_SYSTEM_PROCESSOR arm1136j-s)
+
+set(THREADX_ARCH "arm11")
+set(THREADX_TOOLCHAIN "gnu")
+
+set(MCPU_FLAGS "-marm -mcpu=arm1136j-s")
+set(VFP_FLAGS "")
+set(SPEC_FLAGS "--specs=nosys.specs")
+
+include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)