From 11ab3e3aa40d8e8b3684f2c5c0cebaa50e7f99de Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 24 Feb 2022 13:22:08 +0100 Subject: [PATCH] pkg/nanors: add reed solomon codec implementation --- pkg/nanors/Makefile | 12 ++++++++++++ pkg/nanors/Makefile.include | 2 ++ pkg/nanors/doc.txt | 6 ++++++ 3 files changed, 20 insertions(+) create mode 100644 pkg/nanors/Makefile create mode 100644 pkg/nanors/Makefile.include create mode 100644 pkg/nanors/doc.txt diff --git a/pkg/nanors/Makefile b/pkg/nanors/Makefile new file mode 100644 index 0000000000..f80f9622ff --- /dev/null +++ b/pkg/nanors/Makefile @@ -0,0 +1,12 @@ +PKG_NAME=nanors +PKG_URL=https://github.com/sleepybishop/nanors.git +PKG_VERSION=389007b64a66f1c0c38c13bc510da1173cfe6097 +PKG_LICENSE=MIT + +include $(RIOTBASE)/pkg/pkg.mk + +# disable large look-up tables +CFLAGS += -DOBLAS_TINY + +all: + $(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base diff --git a/pkg/nanors/Makefile.include b/pkg/nanors/Makefile.include new file mode 100644 index 0000000000..10d48a1188 --- /dev/null +++ b/pkg/nanors/Makefile.include @@ -0,0 +1,2 @@ +INCLUDES += -I$(PKGDIRBASE)/nanors +INCLUDES += -I$(PKGDIRBASE)/nanors/deps/obl diff --git a/pkg/nanors/doc.txt b/pkg/nanors/doc.txt new file mode 100644 index 0000000000..927f59d75d --- /dev/null +++ b/pkg/nanors/doc.txt @@ -0,0 +1,6 @@ +/** + * @defgroup pkg_nanors small Reed-Solomon code implementation + * @ingroup pkg + * @brief Provides a tiny, performant implementation of reed solomon codes + * @see https://github.com/sleepybishop/nanors + */