diff --git a/pkg/emlearn/Makefile b/pkg/emlearn/Makefile new file mode 100644 index 0000000000..1cde54fcba --- /dev/null +++ b/pkg/emlearn/Makefile @@ -0,0 +1,9 @@ +PKG_NAME=emlearn +PKG_URL=https://github.com/emlearn/emlearn +PKG_VERSION=1e33ca44ec08ba6545684107240de4e3e9ea5fe0 # 0.10.1 +PKG_LICENSE=MIT + +include $(RIOTBASE)/pkg/pkg.mk + +all: + @: diff --git a/pkg/emlearn/Makefile.dep b/pkg/emlearn/Makefile.dep new file mode 100644 index 0000000000..d4a21c581b --- /dev/null +++ b/pkg/emlearn/Makefile.dep @@ -0,0 +1,2 @@ +# emlearn is not compatible with MSP430 +FEATURES_BLACKLIST += arch_msp430 diff --git a/pkg/emlearn/Makefile.include b/pkg/emlearn/Makefile.include new file mode 100644 index 0000000000..c531826a82 --- /dev/null +++ b/pkg/emlearn/Makefile.include @@ -0,0 +1,7 @@ +INCLUDES += -I$(PKGDIRBASE)/emlearn/emlearn + +CFLAGS += -Wno-unused-parameter + +# There's nothing to build in this package, it's used as a header only library. +# So it's declated as a pseudo-module +PSEUDOMODULES += emlearn diff --git a/pkg/emlearn/doc.txt b/pkg/emlearn/doc.txt new file mode 100644 index 0000000000..68485771b5 --- /dev/null +++ b/pkg/emlearn/doc.txt @@ -0,0 +1,7 @@ +/** + * @defgroup pkg_emlearn emlearn + * @ingroup pkg + * @brief Machine Learning inference engine + * + * @see https://github.com/emlearn/emlearn + */