Browse Source
Convert lpcxpresso54114 Signed-off-by: David Leach <david.leach@nxp.com>pull/69687/head
23 changed files with 59 additions and 73 deletions
@ -1,14 +0,0 @@
@@ -1,14 +0,0 @@
|
||||
# LPCXpresso54114 board |
||||
|
||||
# Copyright (c) 2017, NXP |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_LPCXPRESSO54114_M4 |
||||
bool "NXP LPCXPRESSO-54114 M4" |
||||
depends on SOC_SERIES_LPC54XXX |
||||
select SOC_PART_NUMBER_LPC54114J256BD64 |
||||
|
||||
config BOARD_LPCXPRESSO54114_M0 |
||||
bool "NXP LPCXPRESSO-54114 M0" |
||||
depends on SOC_SERIES_LPC54XXX |
||||
select SOC_PART_NUMBER_LPC54114J256BD64 |
@ -1,23 +0,0 @@
@@ -1,23 +0,0 @@
|
||||
# LPCXpresso54114 board |
||||
|
||||
# Copyright (c) 2017, NXP |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if BOARD_LPCXPRESSO54114_M4 || BOARD_LPCXPRESSO54114_M0 |
||||
|
||||
config BOARD |
||||
default "lpcxpresso54114_m4" if BOARD_LPCXPRESSO54114_M4 |
||||
default "lpcxpresso54114_m0" if BOARD_LPCXPRESSO54114_M0 |
||||
|
||||
# Place size restrictions on first image if dual core is enabled |
||||
if SECOND_CORE_MCUX && BOARD_LPCXPRESSO54114_M4 |
||||
|
||||
# Workaround for not being able to have commas in macro arguments |
||||
DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition |
||||
|
||||
config FLASH_LOAD_SIZE |
||||
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) |
||||
|
||||
endif # SECOND_CORE_MCUX && BOARD_LPCXPRESSO54114_M4 |
||||
|
||||
endif # BOARD_LPCXPRESSO54114_M4 || BOARD_LPCXPRESSO54114_M0 |
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
# |
||||
# Copyright (c) 2017, NXP |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
if(CONFIG_BOARD_LPCXPRESSO54114_M4 OR CONFIG_SECOND_CORE_MCUX) |
||||
board_runner_args(jlink "--device=LPC54114J256_M4" "--reset-after-load") |
||||
elseif(CONFIG_BOARD_LPCXPRESSO54114_M0) |
||||
board_runner_args(jlink "--device=LPC54114J256_M0" "--reset-after-load") |
||||
endif() |
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
# LPCXpresso54114 board |
||||
# |
||||
# Copyright (c) 2017, 2024 NXP |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
# Place size restrictions on first image if dual core is enabled |
||||
if SECOND_CORE_MCUX && BOARD_LPCXPRESSO54114_LPC54114_M4 |
||||
|
||||
# Workaround for not being able to have commas in macro arguments |
||||
DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition |
||||
|
||||
config FLASH_LOAD_SIZE |
||||
default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) |
||||
|
||||
endif # SECOND_CORE_MCUX && BOARD_LPCXPRESSO54114_LPC54114_M4 |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
# LPCXpresso54114 board |
||||
|
||||
# Copyright 2017, 2024 NXP |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_LPCXPRESSO54114 |
||||
select SOC_LPC54114_M4 if BOARD_LPCXPRESSO54114_LPC54114_M4 |
||||
select SOC_LPC54114_M0 if BOARD_LPCXPRESSO54114_LPC54114_M0 |
||||
select SOC_PART_NUMBER_LPC54114J256BD64 |
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
# |
||||
# Copyright (c) 2017, NXP |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
if(BOARD_LPCXPRESSO54114_LPC54114_M4 OR CONFIG_SECOND_CORE_MCUX) |
||||
board_runner_args(jlink "--device=LPC54114J256_M4" "--reset-after-load") |
||||
elseif(BOARD_LPCXPRESSO54114_LPC54114_M0) |
||||
board_runner_args(jlink "--device=LPC54114J256_M0" "--reset-after-load") |
||||
endif() |
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
board: |
||||
name: lpcxpresso54114 |
||||
vendor: nxp |
||||
socs: |
||||
- name: lpc54114 |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@ -1,10 +1,10 @@
@@ -1,10 +1,10 @@
|
||||
# |
||||
# Copyright (c) 2017, NXP |
||||
# Copyright (c) 2017, 2024 NXP |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
identifier: lpcxpresso54114_m0 |
||||
identifier: lpcxpresso54114/lpc54114/m0 |
||||
name: NXP LPCXpresso54114 M0 |
||||
type: mcu |
||||
arch: arm |
@ -1,12 +1,9 @@
@@ -1,12 +1,9 @@
|
||||
# |
||||
# Copyright (c) 2017, NXP |
||||
# Copyright (c) 2017, 2024 NXP |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
CONFIG_SOC_LPC54114_M0=y |
||||
CONFIG_SOC_SERIES_LPC54XXX=y |
||||
CONFIG_BOARD_LPCXPRESSO54114_M0=y |
||||
CONFIG_USE_SEGGER_RTT=y |
||||
CONFIG_SERIAL=n |
||||
CONFIG_GPIO=n |
@ -1,10 +1,10 @@
@@ -1,10 +1,10 @@
|
||||
# |
||||
# Copyright (c) 2017, NXP |
||||
# Copyright (c) 2017, 2024 NXP |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
identifier: lpcxpresso54114_m4 |
||||
identifier: lpcxpresso54114/lpc54114/m4 |
||||
name: NXP LPCXpresso54114 M4 |
||||
type: mcu |
||||
arch: arm |
@ -1,12 +1,9 @@
@@ -1,12 +1,9 @@
|
||||
# |
||||
# Copyright (c) 2017, NXP |
||||
# Copyright (c) 2017, 2024 NXP |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
# |
||||
|
||||
CONFIG_SOC_LPC54114_M4=y |
||||
CONFIG_SOC_SERIES_LPC54XXX=y |
||||
CONFIG_BOARD_LPCXPRESSO54114_M4=y |
||||
CONFIG_CONSOLE=y |
||||
CONFIG_UART_CONSOLE=y |
||||
CONFIG_SERIAL=y |
Loading…
Reference in new issue