Skip to content

Automatically install library dependencies for libraries in sketch profile #2934

Closed as not planned
@Ravgni

Description

@Ravgni

Describe the request

Download libraries' dependencies for libraries in sketch profile

E.g. this profile should install 'Adafruit SSD1306' and dependencies 'Adafruit GFX Library' and 'Adafruit BusIO':

profiles:
  esp32:
    fqbn: esp32:esp32:esp32
    platforms:
      - platform: esp32:esp32 (3.2.0)
    libraries:
      - Adafruit SSD1306 (2.5.14)

Describe the current behavior

When invoking arduino-cli compile dependencies for libraries in profile file are not downloaded.
E.g. if user executed arduino-cli lib install "Adafruit SSD1306" then three libraries will be installed: 'Adafruit SSD1306' itself and it's dependencies 'Adafruit GFX Library' and 'Adafruit BusIO'
But if user states in sketch profile only one library 'Adafruit SSD1306' then only this one installed. And it's dependencies are missing.

Arduino CLI version

1.2.2

Operating system

Linux

Operating system version

Ubuntu 22.04

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions