-
Notifications
You must be signed in to change notification settings - Fork 7.6k
drivers: video: samples: improve the video-sw-generator doc #90937
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
drivers: video: samples: improve the video-sw-generator doc #90937
Conversation
The usability of video devices might further be improved by #88182 which gives a list of all video devices accessible to users: those capable of I/O. |
13966f1
to
438c39f
Compare
@josuah can you rebase this please for RC2? |
Add macros giving hints to users using #error, about what might be missing to build and run the samples, such as a missing "chosen" devicetree node. Signed-off-by: Josuah Demangeon <me@josuah.net>
Remove the build instruction from README about using the native_sim without using the video-sw-generator snippet, as it cannot build. Signed-off-by: Josuah Demangeon <me@josuah.net>
This snippet got introduced, and is not a breaking change for C APIs but still introduce a change of command line to use for building projects, so add a migration guide entry. Signed-off-by: Josuah Demangeon <me@josuah.net>
438c39f
to
893ff22
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
After #88780 got merged, the
video-sw-generator
requires new command line flags to build.This can be misleading and some confusion can be avoided as proposed through these commits:
DT_HAS_CHOSEN()
safeguards