Skip to content

Move machine.py chip logic into the native HAL #10

Description

@begeistert

The PyMCU HAL universality scan flags machine.py for importing pymcu.chips, branching on CHIP, hardcoding AVR/RP/PIC pin mapping and reading ADC registers directly. Existing #2 covers the machine.Pin integer-numbering symptom; this tracker is for the broader compatibility-layer universality rule.\n\nThe MicroPython layer should call architecture-agnostic HAL APIs while chip registers, port names and arch selection live in the native HAL/LLD. The new PyMCU stdlib test allowlists the file/line cases against this tracker.

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