Skip to content

Library detection fails if header is not at top level #1275

@runger1101001

Description

@runger1101001

Bug Report

Current behavior

If I just include
#include "encoders/as5048a/MagneticSensorAS5048A.h"
library detection fails and (obviously) compilation isn't possible.

If I add a "Dummy.h" to the top level (src folder) of my library, and include that in my sketch, library detection succeeds.

Expected behavior

I'd expect the library detection to succeed, no matter what header I include from the library. Or I'd expect a way to explicitly include a library (is there one? I haven't found it :-( ).

Environment

  • CLI version (output of arduino-cli version):

Version: 2.0.0-beta.5
Date: 2021-04-15T10:43:43.670Z (2 weeks ago)
CLI Version: 0.18.1 alpha [b3cf8e1]

  • OS and platform: Mac OS Big Sur

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy