1# MIMXRT1180-EVK board
2
3# Copyright 2024-2025 NXP
4# SPDX-License-Identifier: Apache-2.0
5
6if BOARD_MIMXRT1180_EVK
7
8# Use External Memory Configuration Data (XMCD) by default when booting primary core (M33)
9config EXTERNAL_MEM_CONFIG_DATA
10	default y if CPU_CORTEX_M33
11
12config NXP_IMX_EXTERNAL_HYPERRAM
13	default y if CPU_CORTEX_M33
14
15if SECOND_CORE_MCUX && BOARD_MIMXRT1180_EVK_MIMXRT1189_CM7
16
17config BUILD_OUTPUT_INFO_HEADER
18	default y
19
20DT_CHOSEN_IMAGE_M7 = nxp,m7-partition
21
22# Adjust the offset of the output image if building for RT18xx SOC
23config BUILD_OUTPUT_ADJUST_LMA
24	default "($(dt_chosen_reg_addr_hex,$(DT_CHOSEN_IMAGE_M7)) + \
25	$(dt_node_reg_addr_hex,/soc/spi@425e0000,1)) - \
26	$(dt_node_reg_addr_hex,/soc/itcm@0)"
27
28endif
29
30endif # BOARD_MIMXRT1180_EVK
31