diff --git a/pkg/heatshrink/Makefile b/pkg/heatshrink/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..cfa1c920706f078a4ba49d4130e4dccab327db8c --- /dev/null +++ b/pkg/heatshrink/Makefile @@ -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 diff --git a/pkg/heatshrink/Makefile.heatshrink b/pkg/heatshrink/Makefile.heatshrink new file mode 100644 index 0000000000000000000000000000000000000000..183d548e19c9ea8089306dfc54533b7d321a6b11 --- /dev/null +++ b/pkg/heatshrink/Makefile.heatshrink @@ -0,0 +1,2 @@ +SRC := heatshrink_decoder.c heatshrink_encoder.c +include $(RIOTBASE)/Makefile.base diff --git a/pkg/heatshrink/Makefile.include b/pkg/heatshrink/Makefile.include new file mode 100644 index 0000000000000000000000000000000000000000..eec2bc98d3b3f6aad058583be45bf64f8fa290ca --- /dev/null +++ b/pkg/heatshrink/Makefile.include @@ -0,0 +1,2 @@ +CFLAGS += -DHEATSHRINK_DYNAMIC_ALLOC=0 +INCLUDES += -I$(BINDIRBASE)/pkg/$(BOARD)/heatshrink diff --git a/pkg/heatshrink/README.md b/pkg/heatshrink/README.md new file mode 100644 index 0000000000000000000000000000000000000000..357fd92795c684fc8cf3bd9da54657c492695cde --- /dev/null +++ b/pkg/heatshrink/README.md @@ -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.