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.
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.