Skip to content

Put a library inside a sketch folder #71

@grafalex82

Description

@grafalex82

My sketch depends on a slightly modified library. I do not want to install this library to the system as other projects may not be good with such changes.

What is the way to put library inside the sketch folder? I tried different options found on the Internet:

  • sketchdir\Libs\Mylib\Mylib.cpp
  • sketchdir\libraries\Mylib\Mylib.cpp
  • sketchdir\libraries\Mylib\src\Mylib.cpp
  • sketchdir\src\libraries\Mylib\src\Mylib.cpp
    .. and various mixes of approaches above.

How does arduino-cli process local libraries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions