732c2e1989
Add an I3C shell. This includes support of all I3C CCC commands that currently have helper functions implemented. This also includes all the read/write shell commands that the i2c shell supported. An Info command is also provided which will print out all i3c and i2c info of an i3c bus. Only SDR read/writes are currently implemented. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
43 lines
627 B
CMake
43 lines
627 B
CMake
# Copyright (c) 2022 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/i3c.h)
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(
|
|
i3c_ccc.c
|
|
i3c_common.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_USERSPACE
|
|
i3c_handlers.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_I3C_SHELL
|
|
i3c_shell.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_I3C_IBI_WORKQUEUE
|
|
i3c_ibi_workq.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_I3C_MCUX
|
|
i3c_mcux.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_I3C_CADENCE
|
|
i3c_cdns.c
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_I3C_TEST
|
|
i3c_test.c
|
|
)
|