1#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
3# Copyright 2023 NXP. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7#-------------------------------------------------------------------------------
8
9# cpuarch.cmake is used to set things that related to the platform that are both
10# immutable and global, which is to say they should apply to any kind of project
11# that uses this platform. In practise this is normally compiler definitions and
12# variables related to hardware.
13
14# Set architecture and CPU
15set(TFM_SYSTEM_PROCESSOR cortex-m33)
16set(TFM_SYSTEM_ARCHITECTURE armv8-m.main)
17
18
19# Set processor type for NXP MCUx SDK
20add_definitions(-DCPU_LPC55S69JBD100_cm33_core0)
21
22# Define serial port ID
23add_definitions(-DSERIAL_PORT_TYPE_UART=1)
24