Skip to content

camera example CameraDisplay - does not work with current sources. #698

Open

Description

@KurtE

I am completely synced up (last commit was pull in of #697)

It is failing as the display device is not ready:
https://github.com/arduino/ArduinoCore-zephyr/blob/main/libraries/Camera/examples/CameraDisplay/CameraDisplay.ino#L156-L159

I assume at least in part, it is due to the defer init change to the display....

Probably needs similar change as happened last week in the Arduino_Video library:

arduino-libraries/Arduino_Video@c971be2

I tried editing it locally like:

  display_dev = DEVICE_DT_GET(DISPLAY_NODE);
  if (!device_is_ready(display_dev)) {
    if (zephyr::arduino::init_dev_apply_pinctrl(display_dev) < 0) {
      fatal_error("Display not ready");
    }
  }

And it did not error, but camera image did not show up on screen.

Note: my own camera to display app that uses Arduino_GigaDisplay_GFX is working with current sources.
But was curious, but wondered if changes to DMA #... might have impacted the speed... Investigating.

Activity

  1. pennam commented on Oct 15, 2026

    @pennam

    Hi @kurt, thanks for the heads-up! You're right that we need to apply the same changes from Arduino_Video. However, we're actually planning to move this example over to the Arduino_GigaDisplay library instead, as it seems like a better fit there.

  2. KurtE commented on Oct 15, 2026

    @KurtE
    Author
  3. KurtE commented on Oct 16, 2026

    @KurtE
    Author

    @pennam @iabdalkader - Actually not sure where the best fit would be. That is obviously up to all of you with Arduino...

    As for Arduino_GigaDisplay library - there are examples up there, including camera display, but that one is specific for Arducam and MBED setup...

    Wondering if it would be better fit with Arduino_Video library and if so, would it make more sense to simplify the setup, and not rely reading stuff from the device tree and the like... Note: I personally appreciate the low level stuff in the example.

  4. added
    bugSomething isn't working
    documentationImprovements or additions to documentation
    on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions