Skip to content

Config gpios UX needs improving #110

Description

@SpComb

The current CONFIG_TYPE_UINT16 with just GPIO_NUM_MAX has a bad UX for configuring GPIO pins - the pin numbers are meaningless without reference schematics, and it is too easy to clobber some important e.g. IO0 -> RMII_CLK pin.

The GPIO pins should use an enum-style config, which meaningful IO pin names set by the boardconfig.

This will require some additional config support for I2C-GPIO devices.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions