1# LPCXpresso54114 board
2
3# Copyright (c) 2017, NXP
4# SPDX-License-Identifier: Apache-2.0
5
6if BOARD_LPCXPRESSO54114_M4 || BOARD_LPCXPRESSO54114_M0
7
8config BOARD
9	default "lpcxpresso54114_m4" if BOARD_LPCXPRESSO54114_M4
10	default "lpcxpresso54114_m0" if BOARD_LPCXPRESSO54114_M0
11
12# Place size restrictions on first image if dual core is enabled
13if SECOND_CORE_MCUX && BOARD_LPCXPRESSO54114_M4
14
15# Workaround for not being able to have commas in macro arguments
16DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
17
18config FLASH_LOAD_SIZE
19	default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))
20
21endif # SECOND_CORE_MCUX && BOARD_LPCXPRESSO54114_M4
22
23endif # BOARD_LPCXPRESSO54114_M4 || BOARD_LPCXPRESSO54114_M0
24