Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i3c: add i3c shell #70773

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions drivers/i3c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ zephyr_library_sources_ifdef(
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
Expand Down
9 changes: 9 additions & 0 deletions drivers/i3c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ module = I3C
module-str = i3c
source "subsys/logging/Kconfig.template.log_config"

config I3C_SHELL
bool "I3C Shell"
depends on SHELL
help
Enable I3C Shell.

The I3C shell supports info, bus recovery, CCC, I3C read and
write operations.

config I3C_USE_GROUP_ADDR
bool "Use Group Addresses"
default y
Expand Down