1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-14 17:13:50 +01:00

test/unittest: initilize ztimer64 is required, use xtimer test-fib

test-fib has direct use of xtimer -> it needs to use the module
This commit is contained in:
Karl Fessel 2022-07-25 13:54:59 +02:00
parent 3b3d644ce3
commit c48f53f8df
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ int main(void)
ztimer_init(); ztimer_init();
#endif #endif
#if MODULE_ZTIMER64_USEC || MODULE_ZTIMER64_MSEC || MODULE_ZTIMER64_SEC
/* auto_init is disabled, but some modules depends on this module being initialized */
ztimer64_init();
#endif
#if IS_USED(MODULE_XTIMER) && !IS_USED(MODULE_ZTIMER_XTIMER_COMPAT) #if IS_USED(MODULE_XTIMER) && !IS_USED(MODULE_ZTIMER_XTIMER_COMPAT)
/* auto_init is disabled, but some modules depends on this module being initialized */ /* auto_init is disabled, but some modules depends on this module being initialized */
xtimer_init(); xtimer_init();

View File

@ -1,3 +1,3 @@
CFLAGS += -DFIB_DEVEL_HELPER -DUNIVERSAL_ADDRESS_SIZE=16 -DUNIVERSAL_ADDRESS_MAX_ENTRIES=40 CFLAGS += -DFIB_DEVEL_HELPER -DUNIVERSAL_ADDRESS_SIZE=16 -DUNIVERSAL_ADDRESS_MAX_ENTRIES=40
USEMODULE += fib USEMODULE += fib xtimer