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

Merge pull request #18365 from kfessel/p-unittest-zt64init

test/unittest: initilize ztimer64 is required, use xtimer test-fib
This commit is contained in:
Martine Lenders 2022-07-25 18:11:58 +02:00 committed by GitHub
commit be34719350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ int main(void)
ztimer_init();
#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)
/* auto_init is disabled, but some modules depends on this module being initialized */
xtimer_init();

View File

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