diff --git a/pkg/tensorflow-lite/Makefile.include b/pkg/tensorflow-lite/Makefile.include index 4d7b04959d..aee56bfccd 100644 --- a/pkg/tensorflow-lite/Makefile.include +++ b/pkg/tensorflow-lite/Makefile.include @@ -1 +1,6 @@ INCLUDES += -I$(PKGDIRBASE)/tensorflow-lite + +ifneq (,$(filter cortex-m%,$(CPU_ARCH))) + # LLVM/clang triggers a hard fault on Cortex-M + TOOLCHAINS_BLACKLIST += llvm +endif