pkg: add heatshrink (compression library)
This commit is contained in:
parent
456ae68fbe
commit
51e669be53
11
pkg/heatshrink/Makefile
Normal file
11
pkg/heatshrink/Makefile
Normal 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
|
||||||
2
pkg/heatshrink/Makefile.heatshrink
Normal file
2
pkg/heatshrink/Makefile.heatshrink
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SRC := heatshrink_decoder.c heatshrink_encoder.c
|
||||||
|
include $(RIOTBASE)/Makefile.base
|
||||||
2
pkg/heatshrink/Makefile.include
Normal file
2
pkg/heatshrink/Makefile.include
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
CFLAGS += -DHEATSHRINK_DYNAMIC_ALLOC=0
|
||||||
|
INCLUDES += -I$(BINDIRBASE)/pkg/$(BOARD)/heatshrink
|
||||||
9
pkg/heatshrink/README.md
Normal file
9
pkg/heatshrink/README.md
Normal 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.
|
||||||
Loading…
x
Reference in New Issue
Block a user