summaryrefslogtreecommitdiffstats
path: root/bs_button/lib
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2020-02-04 23:33:05 +0100
committermanuel <manuel@mausz.at>2020-02-04 23:33:05 +0100
commit95e5f22a558beeaac8895400e406837656a057e0 (patch)
tree54c873c7e84b70f677f223abce32df3cd9ad3743 /bs_button/lib
parentbc34f55c1abfca72c2ab5f6e0722b56168202366 (diff)
downloadarduino-95e5f22a558beeaac8895400e406837656a057e0.tar.gz
arduino-95e5f22a558beeaac8895400e406837656a057e0.tar.bz2
arduino-95e5f22a558beeaac8895400e406837656a057e0.zip
add bs_button
Diffstat (limited to 'bs_button/lib')
-rw-r--r--bs_button/lib/README46
1 files changed, 46 insertions, 0 deletions
diff --git a/bs_button/lib/README b/bs_button/lib/README
new file mode 100644
index 0000000..6debab1
--- /dev/null
+++ b/bs_button/lib/README
@@ -0,0 +1,46 @@
1
2This directory is intended for project specific (private) libraries.
3PlatformIO will compile them to static libraries and link into executable file.
4
5The source code of each library should be placed in a an own separate directory
6("lib/your_library_name/[here are source files]").
7
8For example, see a structure of the following two libraries `Foo` and `Bar`:
9
10|--lib
11| |
12| |--Bar
13| | |--docs
14| | |--examples
15| | |--src
16| | |- Bar.c
17| | |- Bar.h
18| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
19| |
20| |--Foo
21| | |- Foo.c
22| | |- Foo.h
23| |
24| |- README --> THIS FILE
25|
26|- platformio.ini
27|--src
28 |- main.c
29
30and a contents of `src/main.c`:
31```
32#include <Foo.h>
33#include <Bar.h>
34
35int main (void)
36{
37 ...
38}
39
40```
41
42PlatformIO Library Dependency Finder will find automatically dependent
43libraries scanning project source files.
44
45More information about PlatformIO Library Dependency Finder
46- https://docs.platformio.org/page/librarymanager/ldf.html