Skip to content

Addons with migrated GPIO do not correctly update Pin Mapping #1220

@mikepparks

Description

@mikepparks

It seems that with the new Pin Mapping functionality to allow multiple actions per pin, GPIO migration does not properly occur from previous versions.

To repro, assume an upgrade to #1216 and attempt the following.

Expectation:
A GpioAction::ANALOG_DIRECTION_MOD_LOW definition should be assigned in Pin Mapping to the Pin previously defined in Tilt 1.

Issue:
The Pin in Pin Mapping remains GpioAction::ASSIGNED_TO_ADDON and cannot be unassigned. The previous value in the addon itself is not updated in the proto data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug in the firmware - Something is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions