forked from bblanchon/ArduinoJson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made the library compatible with platform.io (issue bblanchon#181)
- Loading branch information
1 parent
b54f1ff
commit c57e6f3
Showing
5 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
sudo: false | ||
language: cpp | ||
cache: | ||
directories: | ||
- "~/.platformio" | ||
env: | ||
- COMPILER=gcc | ||
- COMPILER=clang | ||
- COMPILER=arduino VERSION=1.5.8 BOARD=arduino:avr:uno | ||
- COMPILER=arduino VERSION=1.6.7 BOARD=arduino:avr:uno | ||
- COMPILER=platformio BOARD=uno | ||
- COMPILER=platformio BOARD=due | ||
- COMPILER=platformio BOARD=esp01 | ||
- COMPILER=platformio BOARD=teensy31 | ||
script: scripts/travis/$COMPILER.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright Benoit Blanchon 2014-2015 | ||
// MIT License | ||
// | ||
// Arduino JSON library | ||
// https://github.com/bblanchon/ArduinoJson | ||
|
||
// About this file | ||
// --------------- | ||
// This file is here to please the platform.io compile. It must be present in | ||
// the root for the IDE to find it. Feel free to ignore this file if your | ||
// working in another environment. | ||
// ...and yes this is driving me crazy! | ||
|
||
#include "include/ArduinoJson.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh -eux | ||
|
||
pip install --user platformio | ||
|
||
rm -r test | ||
|
||
for EXAMPLE in JsonParserExample JsonGeneratorExample | ||
do | ||
platformio ci examples/$EXAMPLE/$EXAMPLE.ino -l '.' -b $BOARD | ||
done |