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:
Jesus Sanchez-Palencia 2015-07-02 14:42:03 -03:00
parent e4ff61ff6c
commit b8056b9c97
2 changed files with 136 additions and 0 deletions

5
examples/timers/Makefile Normal file
View file

@ -0,0 +1,5 @@
CONTIKI_PROJECT = all-timers
all: $(CONTIKI_PROJECT)
CONTIKI = ../..
include $(CONTIKI)/Makefile.include