Skip to content

Commit ab6e6bd

Browse files
committed
Revert "Folder rename"
This reverts commit 98d8a57111a2ce74217f1a594395ae1e61f953ba.
1 parent 87c1c66 commit ab6e6bd

File tree

5 files changed

+1572
-0
lines changed

5 files changed

+1572
-0
lines changed

Diff for: .gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.pioenvs
2+
.piolibdeps
3+
.clang_complete
4+
.gcc-flags.json

Diff for: .travis.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Continuous Integration (CI) is the practice, in software
2+
# engineering, of merging all developer working copies with a shared mainline
3+
# several times a day < http://docs.platformio.org/page/ci/index.html >
4+
#
5+
# Documentation:
6+
#
7+
# * Travis CI Embedded Builds with PlatformIO
8+
# < https://docs.travis-ci.com/user/integration/platformio/ >
9+
#
10+
# * PlatformIO integration with Travis CI
11+
# < http://docs.platformio.org/page/ci/travis.html >
12+
#
13+
# * User Guide for `platformio ci` command
14+
# < http://docs.platformio.org/page/userguide/cmd_ci.html >
15+
#
16+
#
17+
# Please choice one of the following templates (proposed below) and uncomment
18+
# it (remove "# " before each line) or use own configuration according to the
19+
# Travis CI documentation (see above).
20+
#
21+
22+
23+
#
24+
# Template #1: General project. Test it using existing `platformio.ini`.
25+
#
26+
27+
# language: python
28+
# python:
29+
# - "2.7"
30+
#
31+
# sudo: false
32+
# cache:
33+
# directories:
34+
# - "~/.platformio"
35+
#
36+
# install:
37+
# - pip install -U platformio
38+
# - platformio update
39+
#
40+
# script:
41+
# - platformio run
42+
43+
44+
#
45+
# Template #2: The project is intended to by used as a library with examples
46+
#
47+
48+
# language: python
49+
# python:
50+
# - "2.7"
51+
#
52+
# sudo: false
53+
# cache:
54+
# directories:
55+
# - "~/.platformio"
56+
#
57+
# env:
58+
# - PLATFORMIO_CI_SRC=path/to/test/file.c
59+
# - PLATFORMIO_CI_SRC=examples/file.ino
60+
# - PLATFORMIO_CI_SRC=path/to/test/directory
61+
#
62+
# install:
63+
# - pip install -U platformio
64+
# - platformio update
65+
#
66+
# script:
67+
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N

Diff for: lib/readme.txt

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
2+
This directory is intended for the project specific (private) libraries.
3+
PlatformIO will compile them to static libraries and link to executable file.
4+
5+
The source code of each library should be placed in separate directory, like
6+
"lib/private_lib/[here are source files]".
7+
8+
For example, see how can be organized `Foo` and `Bar` libraries:
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) http://docs.platformio.org/page/librarymanager/config.html
19+
| |
20+
| |--Foo
21+
| | |- Foo.c
22+
| | |- Foo.h
23+
| |
24+
| |- readme.txt --> THIS FILE
25+
|
26+
|- platformio.ini
27+
|--src
28+
|- main.c
29+
30+
Then in `src/main.c` you should use:
31+
32+
#include <Foo.h>
33+
#include <Bar.h>
34+
35+
// rest H/C/CPP code
36+
37+
PlatformIO will find your libraries automatically, configure preprocessor's
38+
include paths and build them.
39+
40+
More information about PlatformIO Library Dependency Finder
41+
- http://docs.platformio.org/page/librarymanager/ldf.html

Diff for: platformio.ini

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
; PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; http://docs.platformio.org/page/projectconf.html
10+
11+
;
12+
; Embedded platforms
13+
;
14+
15+
;[env:megaatmega2560]
16+
;platform = atmelavr
17+
;board = megaatmega2560
18+
;framework = arduino
19+
;upload_port = COM4
20+
;[env:uno]
21+
;platform = atmelavr
22+
;framework = arduino
23+
;board = uno
24+
[env:teensy36]
25+
platform = teensy
26+
board = teensy36
27+
framework = arduino
28+
upload_port = COM4
29+
build_flags = -O3

0 commit comments

Comments
 (0)