Skip to content

Cannot configure touch interrupt pin without modifying BSP files (BSP-711) #630

@TT-Qt

Description

@TT-Qt

Issue:
Currently the touch interrupt pin comes directly from the board's header like this:

Here the pin is marked as 'not connected'. To modify this you'll need to modify BSP header-files which is not wanted in our case.

Suggestion:
Add support to set custom touch pin via bsp_touch_config_t:

For example:

typedef struct {
    gpio_num_t int_gpio_num;    /*!< GPIO number of interrupt pin */
} bsp_touch_config_t;

This also requires some flag or using the given pin num to detect whether default value or custom value should be used.

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