2019-11-23 14:51:17 +01:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
USEPKG += utensor
|
|
|
|
|
|
|
|
# Include input data as blob
|
|
|
|
BLOBS += digit
|
|
|
|
|
|
|
|
# Include C++ model and training weights code as an external module
|
|
|
|
USEMODULE += models
|
2021-03-02 15:11:53 +01:00
|
|
|
EXTERNAL_MODULE_DIRS += external_modules
|
2019-11-23 14:51:17 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
2020-09-25 12:51:18 +02:00
|
|
|
|
|
|
|
# The application requires a little more stacksize on ARM when building with
|
|
|
|
# LLVM
|
|
|
|
ifneq (,$(filter arch_arm,$(FEATURES_USED)))
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2048
|
|
|
|
endif
|
|
|
|
endif
|