Skip to content

feat: Migrate hardware validation (board_validate.py). #5

@nedseb

Description

@nedseb

Description

Move the hardware validation tool from micropython-steami-tutorials.

Source

micropython-steami-tutorials/tools/board_validate.py (427 lines)

Tasks

  • Copy board_validate.py
  • Adapt paths for new repo structure
  • Verify python board_validate.py works with a connected STeaMi board
  • Add CLI documentation in README

Features

  • Extracts draw() body from screenshot.py using inspect
  • Injects into MicroPython template for board execution
  • Runs on board via mpremote
  • Dumps GS4_HMSB framebuffer as hex
  • Decodes to PIL Image
  • Compares: board vs sim, board vs SVG ref
  • Generates diff images

Dependencies

Parent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions