Skip to content

Update tcpserversink sample #73665

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

Merged

Conversation

ngphibang
Copy link
Collaborator

@ngphibang ngphibang commented Jun 3, 2024

Initially, the sample should not rely on the fact that the NXP CSI node is always enabled and if this is required, sample.yaml should have filter: dt_compat_enabled("nxp,imx-csi").

As #72435 is now merged and as pointed out by #73604, update this sample to reflect the new shield.

Some minor improvements are also made such as adding support for video software generator.

Run clang-format before making any changes

Signed-off-by: Phi Bang Nguyen <[email protected]>
ngphibang added 4 commits June 3, 2024 17:39
Add a new line so that logs are easier to be read.

Signed-off-by: Phi Bang Nguyen <[email protected]>
The default resolution of mt9m114 camera is now changed to 480x272.
Update the sample documentation to reflect this change.

Signed-off-by: Phi Bang Nguyen <[email protected]>
Update the sample to use a camera shield with a camera chosen node.
This is not only because the camera nodes in the mimxrt1064 device
tree has been now moved to a separate mt9m114 shield but also to
make the sample more generic.

Signed-off-by: Phi Bang Nguyen <[email protected]>
Add support for video software generator in case of a real video capture
device is missing.

Signed-off-by: Phi Bang Nguyen <[email protected]>
@ngphibang ngphibang force-pushed the update_tcpserversink_sample branch from dbdd9b8 to b74d17d Compare June 3, 2024 15:50
@ngphibang
Copy link
Collaborator Author

@loicpoulain @danieldegrasse Would you help to review this ?

Copy link
Member

@cfriedt cfriedt left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me

@loicpoulain loicpoulain self-requested a review June 6, 2024 13:08
Copy link
Collaborator

@loicpoulain loicpoulain left a comment

Choose a reason for hiding this comment

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

LGTM

@dleach02 dleach02 merged commit 70c0c33 into zephyrproject-rtos:main Jun 6, 2024
17 checks passed
@dleach02 dleach02 deleted the update_tcpserversink_sample branch June 6, 2024 20:20
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