Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Solution for including libraries, or setting Arduino CLI config options #1653

Open
@wilg

Description

@wilg

This extension has almost everything in place, but it seems like there is still no way to set any of the Arduino CLI config options which would allow you to set ARDUINO_DIRECTORIES_USER which would allow you to pull in libraries from your project folder.

I tried using a prebuild command to export ARDUINO_DIRECTORIES_USER="$(pwd)/arduino" but unfortunately that seems to have a different environment than the one that ultimately runs the Arduino CLI.

Is there a workaround I'm missing or is a change needed here?

Seems to be a common problem:

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