Skip to content

VCK190: notebook button-count fix and cleaner failure when display init fails - #1588

Open
ryanprovan wants to merge 2 commits into
Xilinx:pynq-nextfrom
ryanprovan:pynq-next-nbfix
Open

VCK190: notebook button-count fix and cleaner failure when display init fails#1588
ryanprovan wants to merge 2 commits into
Xilinx:pynq-nextfrom
ryanprovan:pynq-next-nbfix

Conversation

@ryanprovan

Copy link
Copy Markdown
  1. Fix boards/VCK190/notebooks/board/register_map_intro.ipynb describing 4 push-buttons. Only 2 user push buttons are present as stated in the VCK190 user guide.

  2. Fix a crash in the PYNQ video DRM driver (pynq/lib/video/drm.py) when the display device can't be set up. The code is supposed to stop and report an error, but the check for that never worked, so it carried on using a device that was never created and crashed instead. This fixes the check so it fails with a clear error message instead of killing the Python process. This affects any board where display initialisation fails — for example boards with no DisplayPort hardware.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.39%. Comparing base (d0a9d91) to head (cc0ce45).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           pynq-next    #1588   +/-   ##
==========================================
  Coverage      34.39%   34.39%           
==========================================
  Files             31       31           
  Lines           4774     4774           
  Branches         835      835           
==========================================
  Hits            1642     1642           
  Misses          3071     3071           
  Partials          61       61           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants