ARCMWDT: Add compiler support for nSIM RMX platform

Add MetaWare compiller support for nSIM RMX platform

Signed-off-by: Nikolay Agishev <agishev@synopsys.com>
This commit is contained in:
Nikolay Agishev 2024-06-12 17:18:51 +03:00 committed by Anas Nashif
commit efedf1cff3
6 changed files with 84 additions and 6 deletions

View file

@ -1,3 +1,12 @@
# SPDX-License-Identifier: Apache-2.0
if(COMPILER STREQUAL arcmwdt)
# CCAC:
zephyr_compile_options_ifdef(CONFIG_SOC_SERIES_RMX
-av5rmx -Zicsr -Zifencei -Zihintpause -Zba -Zbb
-Zbs -Zca -Zcb -Zcmp -Zcmt -Za -Zm -Zicbom)
zephyr_ld_options(-Hlib=rmx100)
endif()
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")