blob: 92b3c0af8d629e1c47ed51129fe1f16a49d00795 [file] [log] [blame]
Antonio de Angelise3f08fd2019-07-25 17:26:23 +01001#-------------------------------------------------------------------------------
Ashutosh Singhd9a6f592019-04-11 16:50:11 +01002# Copyright (c) 2017-2019, Arm Limited. All rights reserved.
Antonio de Angelise3f08fd2019-07-25 17:26:23 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8#This file gathers Cortex-M4 specific settings which control the build system.
Ashutosh Singhd9a6f592019-04-11 16:50:11 +01009
10#If Armv7-M architecture type is specified here, the compiler cmake files will
11#set generic Armv7-M CPU type flags as building options directly, instead of the
12#dedicated ones for Cortex-M4. It may break building on Cortex-M4. Thus skip the
13#setting of architecture type and leave it to compiler cmake files.
Antonio de Angelise3f08fd2019-07-25 17:26:23 +010014
15set(ARM_CPU_TYPE "Cortex-M4")