summaryrefslogtreecommitdiff
path: root/cmake/cortex_a5x.cmake
blob: b212cb877fb6198fc1dbb6712c6f8cee7c5ecce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)