8000 Test important GPIO initialization in CI (libpanda) · Issue #2203 · commaai/panda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Test important GPIO initialization in CI (libpanda) #2203
Open
@robbederks

Description

@robbederks

A good test for PRs that refactor / change parts of the panda initialization (such as this) would be a CI job that asserts GPIO like these are initialized correctly and in a safe order:

  • the SBU line driving / readout
  • the CAN transciever lines (enable + RX/TX alternative functions)
  • SOM reset / bootkick
  • LED
  • ...

This should be quite easy to do without HITL, by writing a "simulated" GPIO hardware block in fake_stm.h and using libpanda.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0