[riot-notifications] [RIOT-OS/RIOT] sys/trickle: migrate from xtimer to ZTIMER_MSEC (#16322)

Cenk Gündoğan notifications at github.com
Fri Jun 11 12:01:47 CEST 2021


> > ```
> > RIOT/sys/ztimer/auto_init.c:224: undefined reference to `ztimer_periph_timer_init'
> > ```
> > 
> > 
> >     
> >       
> >     
> > 
> >       
> >     
> > 
> >     
> >   
> > I was testing with `native`; is this expected because of missing adaptations?
> 
> For `native` you need to also manually include `ztimer_usec` at the moment.

mhh, okay.  Works with the following diff:
```diff
diff --git a/tests/trickle/Makefile b/tests/trickle/Makefile
index 72efd754bc..5512f1cb0d 100644
--- a/tests/trickle/Makefile
+++ b/tests/trickle/Makefile
@@ -1,5 +1,7 @@
 include ../Makefile.tests_common
 
 USEMODULE += trickle
+USEMODULE += ztimer_usec
+USEMODULE += ztimer_msec
 
 include $(RIOTBASE)/Makefile.include
```

The print output of the test also looks correct.  I'd be fine with merging if there are no unresolved discussions (from above).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16322#issuecomment-859464860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210611/3a7a0442/attachment.htm>


More information about the notifications mailing list