Skip to content

how to use utility/ folder in library development #2228

@RodrigoDornelles

Description

@RodrigoDornelles

I can't find clear documentation, I would like to put optional extras in my lib in addition to the main core.

  • structfolder
src/
  foo/
    foo.c
    foo.h
   libname.h
   libname.c
utility/
   libnameComplement.h
   libnameComplement.h

how to include libnameComplement ?

I'm using this link to guide me, but I'm not able to resolve the headers.
https://arduino.github.io/arduino-cli/0.33/library-specification/

#include <libname.h> // works
#include <libnameComplement.h> // not works

void setup()
{
  libnamee_func();
  libnameComplement_func();
{

void loop()
{

}

Metadata

Metadata

Assignees

Labels

conclusion: invalidIssue/PR not validtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions