Skip to content

Commit

Permalink
pkg: add cn-cbor CBOR implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Nov 13, 2017
1 parent 67048ea commit 772e877
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/cn-cbor/Makefile
@@ -0,0 +1,12 @@
PKG_NAME=cn-cbor
PKG_URL=https://github.com/cabo/cn-cbor
PKG_VERSION=2f9c3b1931eb012909e74f3b628e6a31fd446ad1
PKG_LICENSE=MIT

.PHONY: all

all: git-download
@cp Makefile.cn-cbor $(PKG_BUILDDIR)/src/Makefile
"$(MAKE)" -C $(PKG_BUILDDIR)/src

include $(RIOTBASE)/pkg/pkg.mk
3 changes: 3 additions & 0 deletions pkg/cn-cbor/Makefile.cn-cbor
@@ -0,0 +1,3 @@
MODULE := cn-cbor

include $(RIOTBASE)/Makefile.base
1 change: 1 addition & 0 deletions pkg/cn-cbor/Makefile.include
@@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/cn-cbor/include
8 changes: 8 additions & 0 deletions pkg/cn-cbor/doc.txt
@@ -0,0 +1,8 @@
/**
* @defgroup pkg_cn-cbor
* @ingroup pkg
* @ingroup sys
* @brief A constrained node implementation of CBOR in C
*
* @see https://github.com/cabo/cn-cbor
*/

0 comments on commit 772e877

Please sign in to comment.