OpenDTU/lib
2023-12-12 13:26:07 +01:00
..
CMT2300a fix SPI assignment across generations 2023-04-28 21:26:22 +02:00
Every Fix compilation warning 2022-07-01 17:46:51 +02:00
Frozen Add libfrozen to project to create constexpr maps 2023-12-10 14:57:05 +01:00
Hoymiles Use references instead of pointers whenver possible 2023-12-12 13:26:07 +01:00
MqttSubscribeParser Introduce MqttSubscribeParser and moved inverter specific subscribes to MqttHandleInverterClass 2022-12-14 20:42:23 +01:00
ResetReason/src Add const keyword to method parameters 2023-12-12 00:21:14 +01:00
ThreadSafeQueue Implement the command queue thread safe 2023-08-03 00:17:32 +02:00
TimeoutHelper Add const keyword to methods 2023-12-12 01:30:40 +01:00
README Initial commit 2022-04-09 11:05:14 +02: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 a 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