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

tests: Update to new EXTERNAL_MODULE_DIRS interface

This commit is contained in:
Marian Buschsieweke 2021-03-02 15:11:53 +01:00
parent ef5ec6d038
commit 81411e3539
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
43 changed files with 7 additions and 10 deletions

View File

@ -3,6 +3,6 @@ include ../Makefile.tests_common
FEATURES_REQUIRED += cpp libstdcpp
USEMODULE += module_exclude
EXTERNAL_MODULE_DIRS += $(CURDIR)/module_exclude
EXTERNAL_MODULE_DIRS += external_modules
include $(RIOTBASE)/Makefile.include

View File

@ -3,6 +3,6 @@ include ../Makefile.tests_common
FEATURES_REQUIRED += cpp libstdcpp
USEMODULE += module
EXTERNAL_MODULE_DIRS += $(CURDIR)/module
EXTERNAL_MODULE_DIRS += external_modules
include $(RIOTBASE)/Makefile.include

View File

@ -2,7 +2,6 @@ include ../Makefile.tests_common
USEMODULE += external_module_1
USEMODULE += external_module_2
EXTERNAL_MODULE_DIRS += $(CURDIR)/external_module_1
EXTERNAL_MODULE_DIRS += $(CURDIR)/external_module_2
EXTERNAL_MODULE_DIRS += external_modules
include $(RIOTBASE)/Makefile.include

View File

@ -38,7 +38,7 @@ USEMODULE += sock_udp
# Mock OpenWSN scheduler to handle the udp_transmit task.
USEMODULE += openwsn_scheduler_mock
EXTERNAL_MODULE_DIRS += $(CURDIR)/scheduler
EXTERNAL_MODULE_DIRS += external_modules
# Explicitly include ztimer to enable timeout
USEMODULE += ztimer_usec

View File

@ -14,7 +14,7 @@ ifeq (mnist,$(EXAMPLE))
# default for now
DISABLE_MODULE += cortexm_fpu
USEMODULE += $(EXAMPLE)
EXTERNAL_MODULE_DIRS += $(CURDIR)/$(EXAMPLE)
EXTERNAL_MODULE_DIRS += external_modules
else
# Use upstream example
USEMODULE += tensorflow-lite-$(EXAMPLE)

View File

@ -7,7 +7,7 @@ BLOBS += digit
# Include C++ model and training weights code as an external module
USEMODULE += models
EXTERNAL_MODULE_DIRS += $(CURDIR)/models
EXTERNAL_MODULE_DIRS += external_modules
include $(RIOTBASE)/Makefile.include

View File

@ -1,3 +1 @@
MODULE := openwsn_scheduler_mock
include $(RIOTBASE)/Makefile.base

View File

@ -23,7 +23,7 @@
#include "blob/digit.h" //contains a sample taken from the MNIST test set
#include "models/deep_mlp.hpp" //generated model file
#include "deep_mlp.hpp" //generated model file
#include "tensor.hpp" //useful tensor classes
int main()