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 + */