Skip to content

Not enough "Arduino pins" defined on high-pin-count chips/boards #245

@WestfW

Description

@WestfW

On boards and chip with a high pin count, like the CH32V307EVT, the number of "arduino pins" defined in the digitalPin[] array is much smaller than the number of GPIO pins broken out on the other board connectors, which prevents them from being used by the Arduino APIs.

Ideally, there should be some sort of symbol like PIN_PD13 for every possible gpio, which maps to an index in the digitalPins[] array (ie "is an Arduino Pin Number"), which will then map it back to a WCH SDK symbol like PD_13. Or at least a compile/menu option to enable this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions