Skip to content

Commit 3c41452

Browse files
luoji-nxp“nxf90552”
authored and
“nxf90552”
committed
Integrate libtrustymatter
the libtrustymatter third-party lib contains the Trusty IPC infrastructure and client application in the Non-secure side. Change-Id: Id2cb5ccc0006d9f51cab06ed971174a94aa0111f Signed-off-by: Ji Luo <ji.luo@nxp.com> Reviewed-on: http://androidsource.nxp.com/project/21249 Reviewed-by: Elven Wang <elven.wang@nxp.com> Reviewed-on: http://androidsource.nxp.com/project/23003
1 parent 47254d5 commit 3c41452

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,6 @@
354354
url = https://github.com/paullouisageneau/libdatachannel.git
355355
platforms = linux
356356
recursive = true
357+
[submodule "third_party/libtrustymatter/repo"]
358+
path = third_party/libtrustymatter/repo
359+
url = https://github.com/nxp-imx/libtrustymatter

third_party/libtrustymatter/BUILD.gn

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright (c) 2023 Project CHIP Authors
2+
# Copyright 2025 NXP
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
import("//build_overrides/chip.gni")
17+
18+
config("libtrustymatter_config") {
19+
include_dirs = [
20+
"repo/matter_client/include",
21+
"repo/libtrusty/include",
22+
]
23+
}
24+
25+
source_set("libtrustymatter") {
26+
sources = [
27+
"repo/libtrusty/include/trusty/ipc.h",
28+
"repo/libtrusty/include/trusty/tipc.h",
29+
"repo/libtrusty/trusty.c",
30+
"repo/matter_client/include/UniquePtr.h",
31+
"repo/matter_client/include/matter_defs.h",
32+
"repo/matter_client/include/matter_ipc.h",
33+
"repo/matter_client/include/matter_messages.h",
34+
"repo/matter_client/include/mem.h",
35+
"repo/matter_client/include/serializable.h",
36+
"repo/matter_client/include/trusty_matter.h",
37+
"repo/matter_client/include/trusty_matter_ipc.h",
38+
"repo/matter_client/matter_messages.cpp",
39+
"repo/matter_client/serializable.cpp",
40+
"repo/matter_client/trusty_matter.cpp",
41+
"repo/matter_client/trusty_matter_ipc.cpp",
42+
]
43+
44+
cflags = [ "-Wno-implicit-fallthrough" ]
45+
cflags_cc = [ "-std=c++17" ]
46+
47+
public_configs = [ ":libtrustymatter_config" ]
48+
}

third_party/libtrustymatter/repo

Submodule repo added at 95f8b30

0 commit comments

Comments
 (0)