mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-09-29 14:24:01 +08:00
zephyr: enable support for Arm AArch32 processors
Arm AArch32 processors have the same WFI assembly instruction and so can works with the existing cortexm support. Rename cortexm directory to arm. Build tested with stm32mp157c_dk2 for Cortex-M, rcar_h3ulcb for Cortex-R. Signed-off-by: Julien Massot <julien.massot@iot.bzh>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
7e171668c5
commit
e73f0b0139
@@ -7,7 +7,8 @@ if (WITH_ZEPHYR)
|
||||
if (NOT WITH_ZEPHYR_LIB)
|
||||
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
||||
endif()
|
||||
if (CONFIG_CPU_CORTEX_M)
|
||||
set (MACHINE "cortexm" CACHE STRING "")
|
||||
endif (CONFIG_CPU_CORTEX_M)
|
||||
if (CONFIG_ARM)
|
||||
set (MACHINE "arm" CACHE STRING "")
|
||||
endif(CONFIG_ARM)
|
||||
|
||||
endif (WITH_ZEPHYR)
|
||||
|
||||
Reference in New Issue
Block a user