Browse Source

pkg: add heatshrink (compression library)

pr/spi.typo
Kaspar Schleiser 6 years ago
parent
commit
51e669be53
  1. 11
      pkg/heatshrink/Makefile
  2. 2
      pkg/heatshrink/Makefile.heatshrink
  3. 2
      pkg/heatshrink/Makefile.include
  4. 9
      pkg/heatshrink/README.md

11
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

2
pkg/heatshrink/Makefile.heatshrink

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

2
pkg/heatshrink/Makefile.include

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

9
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.
Loading…
Cancel
Save