OpenDTU-old/lib
Bernhard Kirchen 63370e8a83 VE.Direct: prefer strncpy over strcpy
strcpy is not safe.
2024-05-31 20:16:29 +02:00
..
CMT2300a Added const keywords 2024-01-14 16:37:43 +01:00
Every Fix compilation warning 2022-07-01 17:46:51 +02:00
Frozen merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
Hoymiles Merge remote-tracking branch 'tbnobody/OpenDTU/master' into merge-v24.4.12 2024-04-25 20:59:19 +02:00
MqttSubscribeParser Introduce MqttSubscribeParser and moved inverter specific subscribes to MqttHandleInverterClass 2022-12-14 20:42:23 +01:00
ResetReason/src merge V23.12.16 (#556) 2023-12-27 11:49:57 +01:00
SdmEnergyMeter PowerMeter Class + SDM PowerMeter support 2023-03-21 23:46:54 +01:00
SMLParser Generic SML based power meters support (#146) 2023-04-07 20:20:00 +02:00
ThreadSafeQueue Move source files for ThreadSafeQueue to correct directories 2024-04-01 00:03:04 +02:00
TimeoutHelper Move source files for TimeoutHelper to correct directories 2024-04-01 00:00:36 +02:00
VeDirectFrameHandler VE.Direct: prefer strncpy over strcpy 2024-05-31 20:16:29 +02:00
.DS_Store First version 2022-08-11 17:26:00 +02: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