samples: ipc: set flash location for CM4 in openamp sample

Set flash location for CM4 to ocram, so CONFIG_FLASH_BASE_ADDRESS is
set correctly.

Fixes #59213

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2023-06-13 23:23:03 +00:00 committed by Anas Nashif
parent 9c6853c42f
commit fcf6efe8ec
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 NXP
* Copyright 2022-2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -7,6 +7,7 @@
/ {
/* Switch to lpuart2, since primary core uses lpuart1 */
chosen {
zephyr,flash = &ocram;
zephyr,console = &lpuart2;
zephyr,shell-uart = &lpuart2;
zephyr,ipc_shm = &ocram2_overlay;

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 NXP
* Copyright 2022-2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -7,6 +7,7 @@
/ {
/* Switch to lpuart2, since primary core uses lpuart1 */
chosen {
zephyr,flash = &ocram;
zephyr,console = &lpuart2;
zephyr,shell-uart = &lpuart2;
zephyr,ipc_shm = &ocram2_overlay;