Skip to content

Remove chip conditionals and registers from CircuitPython adapters #37

Description

@begeistert

The PyMCU HAL universality scan flags CircuitPython adapter modules that import pymcu.chips, branch on CHIP, or read chip registers directly. Existing #28 covers the Pico coverage gap for several arch == avr guards, but the architectural rule is broader: compatibility modules should call the native HAL and contain no chip particulars.\n\nCurrent offenders include busio.py, pwmio.py, microcontroller.py, socketpool.py and adafruit_minimqtt/adafruit_minimqtt.py. The new PyMCU stdlib test tracks the file/line cases against this issue where #28 is not the narrower fit.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions