Files
nuki_hub/lib
Luca Oliano ade24e86a8 - move source file according with platformio standard directory structure
- remove lib_deps from platformio.ini since they are already in libs folder
2024-04-27 11:06:13 +02:00
..
2024-04-19 14:49:16 +02:00
2023-01-27 19:29:13 +01:00
2022-03-22 21:10:43 +01:00
2024-03-02 04:30:46 +01:00
2024-04-24 22:04:26 +02:00
2024-04-06 07:12:20 +02:00
2023-02-07 18:12:42 +01:00

This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.

The source code of each library should be placed in an own separate directory
("lib/your_library_name/[here are source files]").

For example, see a structure of the following two libraries `Foo` and `Bar`:

|--lib
|  |
|  |--Bar
|  |  |--docs
|  |  |--examples
|  |  |--src
|  |     |- Bar.c
|  |     |- Bar.h
|  |  |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
|  |
|  |--Foo
|  |  |- Foo.c
|  |  |- Foo.h
|  |
|  |- README --> THIS FILE
|
|- platformio.ini
|--src
   |- main.c

and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>

int main (void)
{
  ...
}

```

PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.

More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html