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:
parent
ef5ec6d038
commit
81411e3539
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,3 +1 @@
|
||||
MODULE := openwsn_scheduler_mock
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user