Skip to content

Commit

Permalink
samples: ipc: set flash location for CM4 in openamp sample
Browse files Browse the repository at this point in the history
Set flash location for CM4 to ocram, so CONFIG_FLASH_BASE_ADDRESS is
set correctly.

Fixes zephyrproject-rtos#59213

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
  • Loading branch information
danieldegrasse authored and nashif committed Jun 17, 2023
1 parent 9c6853c commit fcf6efe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/*
* Copyright (c) 2022 NXP
* Copyright 2022-2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
/* Switch to lpuart2, since primary core uses lpuart1 */
chosen {
zephyr,flash = &ocram;
zephyr,console = &lpuart2;
zephyr,shell-uart = &lpuart2;
zephyr,ipc_shm = &ocram2_overlay;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/*
* Copyright (c) 2022 NXP
* Copyright 2022-2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
/* Switch to lpuart2, since primary core uses lpuart1 */
chosen {
zephyr,flash = &ocram;
zephyr,console = &lpuart2;
zephyr,shell-uart = &lpuart2;
zephyr,ipc_shm = &ocram2_overlay;
Expand Down

0 comments on commit fcf6efe

Please sign in to comment.