Antonio de Angelis | e3f08fd | 2019-07-25 17:26:23 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Ashutosh Singh | d9a6f59 | 2019-04-11 16:50:11 +0100 | [diff] [blame] | 2 | # Copyright (c) 2017-2019, Arm Limited. All rights reserved. |
Antonio de Angelis | e3f08fd | 2019-07-25 17:26:23 +0100 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | #This file gathers Cortex-M4 specific settings which control the build system. |
Ashutosh Singh | d9a6f59 | 2019-04-11 16:50:11 +0100 | [diff] [blame] | 9 | |
| 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 Angelis | e3f08fd | 2019-07-25 17:26:23 +0100 | [diff] [blame] | 14 | |
| 15 | set(ARM_CPU_TYPE "Cortex-M4") |