-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from argetlam-coder/add-esp-idf-support
Add support for the ESP-IDF framework
- Loading branch information
Showing
9 changed files
with
100 additions
and
9 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
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,18 @@ | ||
cmake_minimum_required(VERSION 3.13) | ||
|
||
if(ESP_PLATFORM) | ||
# Build CayenneLPP as an ESP-IDF component | ||
# required because ESP-IDF runs cmake in script mode | ||
# and needs idf_component_register() | ||
file(GLOB_RECURSE CAYENNELPP_ESP_SOURCES | ||
"src/*.*" | ||
) | ||
|
||
idf_component_register( | ||
SRCS ${CAYENNELPP_ESP_SOURCES} | ||
INCLUDE_DIRS src | ||
REQUIRES bblanchon__arduinojson | ||
) | ||
|
||
return() | ||
endif() |
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,13 @@ | ||
version: "1.3.0" | ||
description: "CayenneLPP library for Arduino and ESP-IDF. Compatible with Cayenne Low Power Payload." | ||
tags: "communication, LoRa, LoRaWAN" | ||
url: "https://github.com/ElectronicCats/CayenneLPP" | ||
issues: https://github.com/ElectronicCats/CayenneLPP/issues | ||
documentation: https://github.com/ElectronicCats/CayenneLPP/blob/master/API.md | ||
repository: "https://github.com/ElectronicCats/CayenneLPP.git" | ||
license: "MIT" | ||
dependencies: | ||
bblanchon/arduinojson: | ||
version: "*" | ||
maintainers: | ||
"Electronic Cats <[email protected]>" |
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,31 @@ | ||
{ | ||
"name": "CayenneLPP", | ||
"version": "1.3.0", | ||
"description": "CayenneLPP library for Arduino and ESP-IDF. Compatible with Cayenne Low Power Payload.", | ||
"keywords": "communication, LoRa, LoRaWAN", | ||
"homepage": "https://github.com/ElectronicCats/CayenneLPP", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ElectronicCats/CayenneLPP.git" | ||
}, | ||
"authors": { | ||
"name": "Electronic Cats", | ||
"email": "[email protected]", | ||
"maintainer": true | ||
}, | ||
"license": "MIT", | ||
"frameworks":[ | ||
"arduino", | ||
"espidf" | ||
], | ||
"platforms": "*", | ||
"headers": "CayenneLPP.h", | ||
"dependencies": | ||
{ | ||
"bblanchon/ArduinoJson": "*" | ||
}, | ||
"build": | ||
{ | ||
"libLDFMode": "chain+" | ||
} | ||
} |
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
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