-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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: sensors: add a sensor_skeleton.c
to speed-up contribution of simple sensors
#73867
Labels
area: Video
Video subsystem
Enhancement
Changes/Updates/Additions to existing features
priority: low
Low impact/importance bug
Comments
This was referenced Jun 6, 2024
Here is now a list snippets that can be interesting to add: |
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 13, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() to help finding a caps entry out of a given format. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 13, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() to help finding a caps entry out of a given format. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 13, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() to help finding a caps entry out of a given format. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 13, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 13, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 14, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 14, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 14, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 15, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
josuah
added a commit
to josuah/zephyr
that referenced
this issue
Oct 17, 2024
Provide a default implementation of an image sensor driver to facilitate writing new drivers, and provide some reference to modify at the same time as API changes. Introduce a video_get_format_index() utility to help finding a caps entry out of a given format. Introduce several utilities to seek and apply frame intervals used in the skeleton sensor driver. Fixes: zephyrproject-rtos#73867 Signed-off-by: Josuah Demangeon <[email protected]>
Closing in favor of #79482 which permits to actually run the skeleton files, making sure the stub works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Video
Video subsystem
Enhancement
Changes/Updates/Additions to existing features
priority: low
Low impact/importance bug
Is your enhancement proposal related to a problem? Please describe.
There are more sensor contributions coming to Zephyr, from various location, and not yet guidelines for how to contribute them
Describe the solution you'd like
Having a
sensor_skeleton.c
would help maintainer communicate how they plan to integrate sensors, and help image sensor driver contributors to get going more quickly by skipping all the boilerplate.Describe alternatives you've considered
Additional context
Other similar "template/skeleton/dummy" drivers:
https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/usb/udc/udc_skeleton.c
https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/display/display_dummy.c
The text was updated successfully, but these errors were encountered: