Skip to content

Commit

Permalink
drivers: video: shell: add first shell commands [WIP]
Browse files Browse the repository at this point in the history
Signed-off-by: Josuah Demangeon <[email protected]>
  • Loading branch information
josuah committed Dec 2, 2024
1 parent b29dbdc commit aa38101
Show file tree
Hide file tree
Showing 11 changed files with 726 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_ESP32 video_esp32_dvp.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_SDMA video_mcux_smartdma.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_IMAGER video_emul_imager.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_RX video_emul_rx.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_SHELL video_shell.c)
2 changes: 2 additions & 0 deletions drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ source "drivers/video/Kconfig.emul_imager"

source "drivers/video/Kconfig.emul_rx"

source "drivers/video/Kconfig.shell"

endif # VIDEO
8 changes: 8 additions & 0 deletions drivers/video/Kconfig.shell
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2024 tinyVision.ai Inc.
# SPDX-License-Identifier: Apache-2.0

config VIDEO_SHELL
bool "Video shell commands support"
depends on SHELL
help
Enable support for the video shell to perform commands on video devices.
Loading

0 comments on commit aa38101

Please sign in to comment.