boards: lpcxpresso54114 : fix board.cmake config error

board config missing CONFIG_ which will cause west build
can not create correct debuger inform

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
Hake Huang 2024-03-13 20:56:23 +08:00 committed by Fabio Baltieri
parent 870806cbc0
commit f1186d29d0

View file

@ -4,9 +4,9 @@
# SPDX-License-Identifier: Apache-2.0
#
if(BOARD_LPCXPRESSO54114_LPC54114_M4 OR CONFIG_SECOND_CORE_MCUX)
if(CONFIG_BOARD_LPCXPRESSO54114_LPC54114_M4 OR CONFIG_SECOND_CORE_MCUX)
board_runner_args(jlink "--device=LPC54114J256_M4" "--reset-after-load")
elseif(BOARD_LPCXPRESSO54114_LPC54114_M0)
elseif(CONFIG_BOARD_LPCXPRESSO54114_LPC54114_M0)
board_runner_args(jlink "--device=LPC54114J256_M0" "--reset-after-load")
endif()