1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/emlearn: add support to RIOT

This commit is contained in:
Alexandre Abadie 2020-01-07 10:32:58 +01:00
parent 18b0bdaa81
commit 5325233928
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
4 changed files with 25 additions and 0 deletions

9
pkg/emlearn/Makefile Normal file
View File

@ -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:
@:

2
pkg/emlearn/Makefile.dep Normal file
View File

@ -0,0 +1,2 @@
# emlearn is not compatible with MSP430
FEATURES_BLACKLIST += arch_msp430

View File

@ -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

7
pkg/emlearn/doc.txt Normal file
View File

@ -0,0 +1,7 @@
/**
* @defgroup pkg_emlearn emlearn
* @ingroup pkg
* @brief Machine Learning inference engine
*
* @see https://github.com/emlearn/emlearn
*/