-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: drivers: video: add arduino nicla vision
As supported board to the video capture sample. Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
- Loading branch information
Showing
5 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
samples/drivers/video/capture/boards/arduino_nicla_vision_stm32h747xx_m7.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=1 | ||
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX=160000 | ||
CONFIG_DMA=y | ||
|
||
# Arduino Nicla Vision has easy access to the USB console | ||
# So use it to check the log messages | ||
CONFIG_USB_DEVICE_STACK=y | ||
CONFIG_USB_WORKQUEUE_STACK_SIZE=8192 | ||
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y | ||
CONFIG_MAIN_STACK_SIZE=4096 | ||
|
||
CONFIG_SERIAL=y | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
CONFIG_UART_LINE_CTRL=y |
18 changes: 18 additions & 0 deletions
18
samples/drivers/video/capture/boards/arduino_nicla_vision_stm32h747xx_m7.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright 2024 Felipe Neves | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/ { | ||
chosen { | ||
zephyr,console = &cdc_acm_uart0; | ||
zephyr,shell-uart = &cdc_acm_uart0; | ||
}; | ||
}; | ||
|
||
zephyr_udc0: &usbotg_hs { | ||
status = "okay"; | ||
cdc_acm_uart0: cdc_acm_uart0 { | ||
compatible = "zephyr,cdc-acm-uart"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters