RIOT
RIOT copied to clipboard
auto_init does not work
auto_init checks MODULE_$name defines for whether a module is present, e.g.
#ifdef MODULE_VTIMER
DEBUG("Auto init vtimer module.\n");
vtimer_init();
#endif
However, MODULE_VTIMER is defined nowhere, at least not with the new buildsystem.
ok, looks like
ED = $(USEMODULE:%=-DMODULE_%)
in Makefile.modules would actually do just this, but
USEMODULE += auto_init
doesn't have an effect for me still, I don't even get debug output.
did you also added a USEMODULE += vtimer in your project Makefile? works for me fine
See #43.