1#
2# Copyright (c) 2023, Nordic Semiconductor ASA.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# preload.cmake is used to set things that related to the platform that are both
8# immutable and global, which is to say they should apply to any kind of project
9# that uses this platform. In practise this is normally compiler definitions and
10# variables related to hardware.
11
12# Set architecture and CPU
13set(TFM_SYSTEM_PROCESSOR cortex-m33)
14set(TFM_SYSTEM_ARCHITECTURE armv8-m.main)
15set(CONFIG_TFM_FP_ARCH "fpv5-sp-d16")
16
17add_compile_definitions(
18        NRF9120_XXAA
19        NRF91_SERIES
20)
21