pkg: add heatshrink (compression library)

This commit is contained in:
Kaspar Schleiser 2016-10-14 15:00:19 +02:00
parent 456ae68fbe
commit 51e669be53
4 changed files with 24 additions and 0 deletions

11
pkg/heatshrink/Makefile Normal file
View File

@ -0,0 +1,11 @@
PKG_NAME=heatshrink
PKG_URL=https://github.com/atomicobject/heatshrink.git
PKG_VERSION=7d419e1fa4830d0b919b9b6a91fe2fb786cf3280
.PHONY: all
all: git-download
cp Makefile.heatshrink $(PKG_BUILDDIR)/Makefile
"$(MAKE)" -C $(PKG_BUILDDIR)
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -0,0 +1,2 @@
SRC := heatshrink_decoder.c heatshrink_encoder.c
include $(RIOTBASE)/Makefile.base

View File

@ -0,0 +1,2 @@
CFLAGS += -DHEATSHRINK_DYNAMIC_ALLOC=0
INCLUDES += -I$(BINDIRBASE)/pkg/$(BOARD)/heatshrink

9
pkg/heatshrink/README.md Normal file
View File

@ -0,0 +1,9 @@
# Introduction
This package provides a compression library specifically developed for
memory-constrained devices. See https://github.com/atomicobject/heatshrink for
more information.
# License
The library is ISC licensed.