Skip to content

Support in-sketch library config #6952

@NdK73

Description

@NdK73

If IDE included -I/path/to/sketch while compiling libraries it would be possible to have sketch-dependant configuration files.
For example, TFT_eSPI requires user to edit User_config.h to setup the display type and features needed. That means having to leave the IDE, modify the file, return to IDE, upload... And becomes a mess if user needs to support different displays in different projects.
If IDE included an extra -I/path/to/sketch before the others, it would be enough to have a new tab for "User_setup.h" to reconfigure the dir. If the user does not have that tab, default in-lib file gets used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DuplicateAnother item already exists for this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions