boards: mps2_an521: add remote Zephyr dir for openamp
Add remote Zephyr directory for openamp sample, so that the sample will correctly set emulator flags when compiled with sysbuild Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
fadd86d3e2
commit
ffbe43a3d1
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ if (CONFIG_BUILD_WITH_TFM)
|
|||
# TF-M (Secure) & Zephyr (Non Secure) image (when running
|
||||
# in-tree tests).
|
||||
set(QEMU_KERNEL_OPTION "-device;loader,file=${CMAKE_BINARY_DIR}/tfm_merged.hex")
|
||||
|
||||
elseif(CONFIG_OPENAMP)
|
||||
set(QEMU_EXTRA_FLAGS "-device;loader,file=${REMOTE_ZEPHYR_DIR}/zephyr.elf")
|
||||
elseif (CONFIG_SOC_MPS2_AN521_CPU1)
|
||||
set(CPU0_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/zephyr/boards/arm/mps2_an521/empty_cpu0-prefix/src/empty_cpu0-build/zephyr)
|
||||
set(QEMU_KERNEL_OPTION "-device;loader,file=${CPU0_BINARY_DIR}/zephyr.elf")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue