examples: Add all-timers example
This commit adds a very simple example which is useful to verify that all timers APIs are working. There are 3 protothreads running, the first process tests etimer, timer and stimer APIs, the second process tests the ctimer APIs, and the third one tests the rtimer APIs.
This commit is contained in:
parent
e4ff61ff6c
commit
b8056b9c97
2 changed files with 136 additions and 0 deletions
5
examples/timers/Makefile
Normal file
5
examples/timers/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
CONTIKI_PROJECT = all-timers
|
||||
all: $(CONTIKI_PROJECT)
|
||||
|
||||
CONTIKI = ../..
|
||||
include $(CONTIKI)/Makefile.include
|
Loading…
Add table
Add a link
Reference in a new issue