From fcf6efe8ecabc32967652e24639a805c8d41c9f1 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Tue, 13 Jun 2023 23:23:03 +0000 Subject: [PATCH] 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 --- .../ipc/openamp/remote/boards/mimxrt1160_evk_cm4.overlay | 3 ++- .../ipc/openamp/remote/boards/mimxrt1170_evk_cm4.overlay | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/subsys/ipc/openamp/remote/boards/mimxrt1160_evk_cm4.overlay b/samples/subsys/ipc/openamp/remote/boards/mimxrt1160_evk_cm4.overlay index caff1f413a5..ae2b4c56250 100644 --- a/samples/subsys/ipc/openamp/remote/boards/mimxrt1160_evk_cm4.overlay +++ b/samples/subsys/ipc/openamp/remote/boards/mimxrt1160_evk_cm4.overlay @@ -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; diff --git a/samples/subsys/ipc/openamp/remote/boards/mimxrt1170_evk_cm4.overlay b/samples/subsys/ipc/openamp/remote/boards/mimxrt1170_evk_cm4.overlay index caff1f413a5..ae2b4c56250 100644 --- a/samples/subsys/ipc/openamp/remote/boards/mimxrt1170_evk_cm4.overlay +++ b/samples/subsys/ipc/openamp/remote/boards/mimxrt1170_evk_cm4.overlay @@ -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;