diff --git a/pkg/tensorflow-lite/Makefile b/pkg/tensorflow-lite/Makefile index 94d4881457..7fc3719ae6 100644 --- a/pkg/tensorflow-lite/Makefile +++ b/pkg/tensorflow-lite/Makefile @@ -1,6 +1,6 @@ PKG_NAME=tensorflow-lite PKG_URL=https://github.com/tensorflow/tensorflow -PKG_VERSION=1768c8f2fa155d4c6406e8ff7addf374c83de7ad +PKG_VERSION=d745ff2a48cebf18e847e8b602a744e97e058946 # 2.2.2 PKG_LICENSE=Apache2.0 include $(RIOTBASE)/pkg/pkg.mk @@ -12,6 +12,7 @@ TF_USEMODULE = $(filter $(TF_MODULES),$(USEMODULE)) CFLAGS += -Wno-pedantic CFLAGS += -Wno-cast-align +CXXEXFLAGS += -Wno-maybe-uninitialized CFLAGS += -DTF_LITE_STATIC_MEMORY CFLAGS += -DTF_LITE_USE_GLOBAL_ROUND diff --git a/pkg/tensorflow-lite/Makefile.dep b/pkg/tensorflow-lite/Makefile.dep index 2c2be5f011..d0b0743284 100644 --- a/pkg/tensorflow-lite/Makefile.dep +++ b/pkg/tensorflow-lite/Makefile.dep @@ -11,5 +11,5 @@ USEMODULE += tensorflow-lite-kernels-internal USEMODULE += tensorflow-lite-memory USEMODULE += tensorflow-lite-micro-kernels -# C++ support on ESP32 in RIOT doesn't work with TensorFlow-Lite for the moment -FEATURES_BLACKLIST += arch_esp32 +# Tensorflow Lite doesn't build on riscv because of missing math functions +FEATURES_BLACKLIST += arch_riscv