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

boards: arduino_nicla_vision: add initial support for the camera system #78422

Merged

Conversation

uLipe
Copy link
Collaborator

@uLipe uLipe commented Sep 13, 2024

This PR adds the support of the camera subsystem for the Arduino Nicla Vision, in order to make it to work this PR covered:

  • Enable camera subsystem and the GC2145 on the device tree
  • Update the GC2145 video sensor to support lower resolutions
  • Add support this board as supported in the video/capture samples

@uLipe uLipe marked this pull request as draft September 13, 2024 22:20
@uLipe uLipe self-assigned this Sep 13, 2024
@zephyrbot zephyrbot added the area: Video Video subsystem label Sep 13, 2024
@uLipe uLipe changed the title boards: arduino_nicla_vision: add initial support for the camera system WIP: boards: arduino_nicla_vision: add initial support for the camera system Sep 13, 2024
Copy link
Collaborator

@josuah josuah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(comment only as it is a draft)
I am learning a bit more every review :)

drivers/video/gc2145.c Outdated Show resolved Hide resolved
boards/arduino/nicla_vision/camera_ext_clock.c Outdated Show resolved Hide resolved
initial support on device tree

Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
@uLipe uLipe force-pushed the feature/arduino_nicla_vision_camera branch from ae99b65 to a04a9d5 Compare September 18, 2024 19:57
@uLipe uLipe marked this pull request as ready for review September 18, 2024 19:59
@zephyrbot zephyrbot added the area: Samples Samples label Sep 18, 2024
@uLipe uLipe removed their assignment Sep 18, 2024
@uLipe uLipe force-pushed the feature/arduino_nicla_vision_camera branch from a04a9d5 to 8868b11 Compare September 18, 2024 20:03
@uLipe uLipe changed the title WIP: boards: arduino_nicla_vision: add initial support for the camera system boards: arduino_nicla_vision: add initial support for the camera system Sep 18, 2024
@uLipe uLipe requested a review from pillo79 September 18, 2024 20:04
@uLipe
Copy link
Collaborator Author

uLipe commented Sep 18, 2024

Just ran clang-format again on the GC2145 driver

@uLipe uLipe requested a review from josuah September 18, 2024 20:06
@uLipe uLipe force-pushed the feature/arduino_nicla_vision_camera branch 3 times, most recently from 026aff9 to 4688740 Compare September 18, 2024 20:50
drivers/video/gc2145.c Outdated Show resolved Hide resolved
drivers/video/gc2145.c Outdated Show resolved Hide resolved
@uLipe uLipe force-pushed the feature/arduino_nicla_vision_camera branch from 4688740 to 143a9e1 Compare September 18, 2024 22:21
@uLipe uLipe requested a review from kartben September 18, 2024 22:22
@kartben kartben assigned josuah and unassigned kartben Sep 18, 2024
@kartben kartben dismissed their stale review September 18, 2024 22:26

"only" unblocking for now as I might not have time to review more thoroughly in the immediate future. Thanks for quickly addressing my comments!

josuah
josuah previously approved these changes Sep 18, 2024
Copy link
Collaborator

@josuah josuah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some feedback left above, which does not affect the functionality.

josuah
josuah previously approved these changes Sep 19, 2024
Copy link
Collaborator

@pillo79 pillo79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Not an expert here so these are more questions than actual comments, please bear with me.

Also, FYI - even when replying on your own PR, you can "start a review" on GitHub by going to the Files tab. This greatly reduces the number of email messages to other reviewers 🙂

drivers/video/gc2145.c Outdated Show resolved Hide resolved
drivers/video/gc2145.c Outdated Show resolved Hide resolved
drivers/video/gc2145.c Show resolved Hide resolved
drivers/video/gc2145.c Outdated Show resolved Hide resolved
drivers/video/gc2145.c Outdated Show resolved Hide resolved
josuah
josuah previously approved these changes Sep 19, 2024
drivers/video/gc2145.c Outdated Show resolved Hide resolved
drivers/video/gc2145.c Outdated Show resolved Hide resolved
Add VGA and QVGA resolution support to enable
usage of gc2145 sensor by smaller ram capable devices.

Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
As supported board to the video capture sample.

Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
@uLipe
Copy link
Collaborator Author

uLipe commented Sep 19, 2024

One more round folks, we are almost there :)

Copy link
Collaborator

@pillo79 pillo79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MaureenHelm MaureenHelm merged commit 2aa7cb5 into zephyrproject-rtos:main Sep 20, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants