From 584cd55782053cf19d3c1c92a814e3cefd353261 Mon Sep 17 00:00:00 2001 From: kou029w Date: Sat, 15 Apr 2017 13:14:01 +0900 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=A1=8C=E3=82=B3=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=82=92LF=E3=81=AB=E7=B5=B1=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +-- .travis.yml | 30 ++++++++++----------- lib/readme.txt | 72 +++++++++++++++++++++++++------------------------- 3 files changed, 53 insertions(+), 53 deletions(-) diff --git a/.gitignore b/.gitignore index ab09fd5..6c69f4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -.pioenvs -.piolibdeps +.pioenvs +.piolibdeps diff --git a/.travis.yml b/.travis.yml index 638bf77..d484890 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,15 @@ -language: python -python: - - "2.7" - -sudo: false -cache: - directories: - - "~/.platformio" - -install: - - pip install -U platformio - - platformio lib install 1526 - -script: - - platformio run +language: python +python: + - "2.7" + +sudo: false +cache: + directories: + - "~/.platformio" + +install: + - pip install -U platformio + - platformio lib install 1526 + +script: + - platformio run diff --git a/lib/readme.txt b/lib/readme.txt index 9c196e2..dbadc3d 100644 --- a/lib/readme.txt +++ b/lib/readme.txt @@ -1,36 +1,36 @@ - -This directory is intended for the project specific (private) libraries. -PlatformIO will compile them to static libraries and link to executable file. - -The source code of each library should be placed in separate directory, like -"lib/private_lib/[here are source files]". - -For example, see how can be organized `Foo` and `Bar` libraries: - -|--lib -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| |--Foo -| | |- Foo.c -| | |- Foo.h -| |- readme.txt --> THIS FILE -|- platformio.ini -|--src - |- main.c - -Then in `src/main.c` you should use: - -#include -#include - -// rest H/C/CPP code - -PlatformIO will find your libraries automatically, configure preprocessor's -include paths and build them. - -More information about PlatformIO Library Dependency Finder -- http://docs.platformio.org/page/librarymanager/ldf.html + +This directory is intended for the project specific (private) libraries. +PlatformIO will compile them to static libraries and link to executable file. + +The source code of each library should be placed in separate directory, like +"lib/private_lib/[here are source files]". + +For example, see how can be organized `Foo` and `Bar` libraries: + +|--lib +| |--Bar +| | |--docs +| | |--examples +| | |--src +| | |- Bar.c +| | |- Bar.h +| |--Foo +| | |- Foo.c +| | |- Foo.h +| |- readme.txt --> THIS FILE +|- platformio.ini +|--src + |- main.c + +Then in `src/main.c` you should use: + +#include +#include + +// rest H/C/CPP code + +PlatformIO will find your libraries automatically, configure preprocessor's +include paths and build them. + +More information about PlatformIO Library Dependency Finder +- http://docs.platformio.org/page/librarymanager/ldf.html