Files
SDK_GD32W51x/PROT/trusted-firmware-m/cmake/Common/CpuM4.cmake
2023-05-18 18:53:00 +08:00

16 lines
703 B
CMake

#-------------------------------------------------------------------------------
# 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")