-
Notifications
You must be signed in to change notification settings - Fork 2
/
middleware_multicore_rpmsg_lite_bm.cmake
55 lines (44 loc) · 1.73 KB
/
middleware_multicore_rpmsg_lite_bm.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#Description: RPMsg-Lite baremetal environment layer sources; user_visible: False
include_guard(GLOBAL)
message("middleware_multicore_rpmsg_lite_bm component is included.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
)
#OR Logic component
if(CONFIG_USE_middleware_baremetal)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
if(CONFIG_USE_middleware_baremetal_MIMXRT1173_cm4)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
if(CONFIG_USE_middleware_baremetal_MIMXRT1173_cm7)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
if(CONFIG_USE_middleware_baremetal_MIMXRT1175_cm4)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
if(CONFIG_USE_middleware_baremetal_MIMXRT1175_cm7)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
if(CONFIG_USE_middleware_baremetal_MIMXRT1165_cm4)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
if(CONFIG_USE_middleware_baremetal_MIMXRT1165_cm7)
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/rpmsg_lite/porting/environment/rpmsg_env_bm.c
)
endif()
target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/rpmsg_lite/lib/include/environment/bm
)