aboutsummaryrefslogtreecommitdiff
path: root/cmake/Common/CpuM4.cmake
blob: 92b3c0af8d629e1c47ed51129fe1f16a49d00795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#-------------------------------------------------------------------------------
# Copyright (c) 2017-2019, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------

#This file gathers Cortex-M4 specific settings which control the build system.

#If Armv7-M architecture type is specified here, the compiler cmake files will
#set generic Armv7-M CPU type flags as building options directly, instead of the
#dedicated ones for Cortex-M4. It may break building on Cortex-M4. Thus skip the
#setting of architecture type and leave it to compiler cmake files.

set(ARM_CPU_TYPE "Cortex-M4")