Skip to content

Portenta h7 giga display shield - #33

Draft
pennam wants to merge 3 commits into
arduino-libraries:mainfrom
pennam:portenta-h7-giga-display-shield
Draft

pennam wants to merge 3 commits into
arduino-libraries:mainfrom
pennam:portenta-h7-giga-display-shield

Conversation

@pennam

@pennam pennam commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

wip to support giga display shield with portenta h7 and mid carrier

Detect a Zephyr sitronix,st7701 devicetree node (video_backend.h -> ARDUINO_VIDEO_DIRECT_FB) and drive the panel through the LTDC framebuffer instead of the ANX7625 USB-C path, so the Giga Display Shield works on the Portenta H7 + Portenta Mid Carrier. The anx7625/dsi/platform USB-C code is gated out of that build.
Keep the default USB-C video constructor and add a commented-out GigaDisplayShield constructor for the Portenta H7 + Portenta Mid Carrier.
- begin(): bring up the zephyr,deferred-init ST7701 panel once the DSI host
  and LTDC are ready (its boot-time init runs too early and fails, leaving
  the panel blank).
- DisplayShield: stub USBCVideoClass::init/getStatus under
  ARDUINO_VIDEO_DIRECT_FB so the build links when the giga_display snippet
  removes the anx7625 node.
@pennam
pennam marked this pull request as draft October 15, 2026 13:28
@github-actions

Copy link
Copy Markdown

Memory usage change @ 1b50c4f

Board flash % RAM for global variables %
arduino:zephyr_main:giga 💚 -224 - -224 -0.02 - -0.02 0 - 0 0.0 - 0.0
arduino:zephyr_main:portentah7 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/ArduinoLogo
flash
% examples/ArduinoLogo
RAM for global variables
% examples/ArduinoLogoDrawing
flash
% examples/ArduinoLogoDrawing
RAM for global variables
% examples/LVGLDemo
flash
% examples/LVGLDemo
RAM for global variables
%
arduino:zephyr_main:giga -224 -0.02 0 0.0 -224 -0.02 0 0.0 -224 -0.02 0 0.0
arduino:zephyr_main:portentah7 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,examples/ArduinoLogo<br>flash,%,examples/ArduinoLogo<br>RAM for global variables,%,examples/ArduinoLogoDrawing<br>flash,%,examples/ArduinoLogoDrawing<br>RAM for global variables,%,examples/LVGLDemo<br>flash,%,examples/LVGLDemo<br>RAM for global variables,%
arduino:zephyr_main:giga,-224,-0.02,0,0.0,-224,-0.02,0,0.0,-224,-0.02,0,0.0
arduino:zephyr_main:portentah7,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant