Skip to content

Commit abf313d

Browse files
TomasGalbickaNXPnordic-segl
authored andcommitted
[nrf fromtree] samples: enable multicore samples for RT1180 board
This commit adds support for these multicore samples: - samples/drivers/mbox - samples/drivers/mbox_data - samples/subsys/ipc/ipc_service/static_vrings - samples/subsys/ipc/openamp Signed-off-by: Tomas Galbicka <[email protected]> Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 2589717)
1 parent d806088 commit abf313d

27 files changed

+261
-12
lines changed

samples/drivers/mbox/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (c) 2021 Carlo Caione <[email protected]>
3-
# Copyright 2023-2024 NXP
3+
# Copyright 2023-2025 NXP
44
#
55
# SPDX-License-Identifier: Apache-2.0
66
#
@@ -16,6 +16,7 @@ if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP OR
1616
CONFIG_BOARD_ADP_XC7K_AE350 OR
1717
CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM7 OR
1818
CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM7 OR
19+
CONFIG_BOARD_MIMXRT1180_EVK_MIMXRT1189_CM33 OR
1920
CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0 OR
2021
CONFIG_BOARD_FRDM_MCXN947_MCXN947_CPU0 OR
2122
CONFIG_BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU OR

samples/drivers/mbox/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright 2023 Nordic Semiconductor ASA
2-
# Copyright 2023-2024 NXP
2+
# Copyright 2023-2025 NXP
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

@@ -13,6 +13,7 @@ config REMOTE_BOARD
1313
default "mimxrt1170_evkb/mimxrt1176/cm4" if $(BOARD) = "mimxrt1170_evkb"
1414
default "mimxrt1170_evk/mimxrt1176/cm4" if $(BOARD) = "mimxrt1170_evk"
1515
default "mimxrt1160_evk/mimxrt1166/cm4" if $(BOARD) = "mimxrt1160_evk"
16+
default "mimxrt1180_evk/mimxrt1189/cm7" if $(BOARD) = "mimxrt1180_evk"
1617
default "lpcxpresso55s69/lpc55s69/cpu1" if $(BOARD) = "lpcxpresso55s69"
1718
default "frdm_mcxn947/mcxn947/cpu1" if $(BOARD) = "frdm_mcxn947"
1819
default "nrf54h20dk/nrf54h20/cpuapp" if "$(BOARD)${BOARD_QUALIFIERS}" = "nrf54h20dk/nrf54h20/cpurad"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_SECOND_CORE_MCUX=y
2+
CONFIG_INCLUDE_REMOTE_DIR=y
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
mbox-consumer {
9+
compatible = "vnd,mbox-consumer";
10+
mboxes = <&mbox1_a 1>, <&mbox1_a 0>;
11+
mbox-names = "tx", "rx";
12+
};
13+
};

samples/drivers/mbox/remote/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (c) 2021 Carlo Caione <[email protected]>
3-
# Copyright 2023-2024 NXP
3+
# Copyright 2023-2025 NXP
44
#
55
# SPDX-License-Identifier: Apache-2.0
66
#
@@ -14,6 +14,7 @@ if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET OR
1414
CONFIG_BOARD_ADP_XC7K_AE350 OR
1515
CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM4 OR
1616
CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM4 OR
17+
CONFIG_BOARD_MIMXRT1180_EVK_MIMXRT1189_CM7 OR
1718
CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU1 OR
1819
CONFIG_BOARD_FRDM_MCXN947_MCXN947_CPU1 OR
1920
CONFIG_BOARD_ESP32_DEVKITC_WROOM_ESP32_APPCPU OR
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_BUILD_OUTPUT_HEX=y
2+
CONFIG_SECOND_CORE_MCUX=y
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
mbox-consumer {
9+
compatible = "vnd,mbox-consumer";
10+
mboxes = <&mbox1_b 0>, <&mbox1_b 1>;
11+
mbox-names = "tx", "rx";
12+
};
13+
};

samples/drivers/mbox/sysbuild.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) 2023 Nordic Semiconductor ASA
2-
# Copyright 2023-2024 NXP
2+
# Copyright 2023-2025 NXP
33
# SPDX-License-Identifier: Apache-2.0
44

55
if("${SB_CONFIG_REMOTE_BOARD}" STREQUAL "")
@@ -22,6 +22,7 @@ native_simulator_set_final_executable(${DEFAULT_IMAGE})
2222

2323
if(SB_CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM7 OR
2424
SB_CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM7 OR
25+
SB_CONFIG_BOARD_MIMXRT1180_EVK_MIMXRT1189_CM33 OR
2526
SB_CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0)
2627
# For these NXP boards the main core application is dependent on
2728
# 'zephyr_image_info.h' generated by remote application.

samples/drivers/mbox_data/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 NXP
1+
# Copyright 2024-2025 NXP
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#
@@ -12,6 +12,7 @@ set(REMOTE_ZEPHYR_DIR ${CMAKE_CURRENT_BINARY_DIR}/../remote/zephyr)
1212
if(CONFIG_BOARD_MIMXRT1170_EVK_MIMXRT1176_CM7 OR
1313
CONFIG_BOARD_MIMXRT1160_EVK_MIMXRT1166_CM7 OR
1414
CONFIG_BOARD_FRDM_MCXN947_MCXN947_CPU0 OR
15+
CONFIG_BOARD_MIMXRT1180_EVK_MIMXRT1189_CM33 OR
1516
CONFIG_BOARD_LPCXPRESSO55S69_LPC55S69_CPU0)
1617
message(STATUS "${BOARD}${BOARD_QUALIFIERS} compile as Main in this sample")
1718
else()

samples/drivers/mbox_data/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 NXP
1+
# Copyright 2024-2025 NXP
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

@@ -9,5 +9,6 @@ string
99
default "mimxrt1170_evkb/mimxrt1176/cm4" if $(BOARD) = "mimxrt1170_evkb"
1010
default "mimxrt1170_evk/mimxrt1176/cm4" if $(BOARD) = "mimxrt1170_evk"
1111
default "mimxrt1160_evk/mimxrt1166/cm4" if $(BOARD) = "mimxrt1160_evk"
12+
default "mimxrt1180_evk/mimxrt1189/cm7" if $(BOARD) = "mimxrt1180_evk"
1213
default "lpcxpresso55s69/lpc55s69/cpu1" if $(BOARD) = "lpcxpresso55s69"
1314
default "frdm_mcxn947/mcxn947/cpu1" if $(BOARD) = "frdm_mcxn947"

0 commit comments

Comments
 (0)