Skip to content

libraries: manage the locally installed libraries in the sketch.yaml #6

@dido18

Description

@dido18

The profile allows to specify a local installed library with the keyword dir.
Currenlty, the installed locally libraries are not shown.

Example:

profiles:
  default:
    fqbn: arduino:zephyr:unoq
    platforms:
      - platform: arduino:zephyr
    libraries:
      - MsgPack (0.4.2)
      - DebugLog (0.8.4)
      - ArxContainer (0.7.0)
      - ArxTypeTraits (0.3.1)
      - dir: Arduino_Modulino
      - Arduino_HS300x (1.0.0)
      - STM32duino VL53L4CD (1.0.5)
      - STM32duino VL53L4ED (1.0.1)
      - Arduino_LSM6DSOX (1.1.2)
      - Arduino_LPS22HB (1.0.2)
default_profile: default

Result (json)

{
    "libraries": [
        "MsgPack@0.4.2",
        "DebugLog@0.8.4",
        "ArxContainer@0.7.0",
        "ArxTypeTraits@0.3.1",
        "Arduino_HS300x@1.0.0",
        "STM32duino VL53L4CD@1.0.5",
        "STM32duino VL53L4ED@1.0.1",
        "Arduino_LSM6DSOX@1.1.2",
        "Arduino_LPS22HB@1.0.2"
    ]
}

Expected result

Show the library without a version and show it is a locally installed lib.
E.g., Arduino_Modulino (local) ?? o

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