The official git repository for OSD-Contiki, the open source OS for the Internet of Things
Go to file
Ralf Schlatterbeck c46d6afa39 Make Arduino timer stuff work on Contiki
New discovery: Contiki also uses timer 0. With almost the same interface
as Arduino. So we now completely get rid of wiring.c (only the main
file, the other wiring_xxx stay) and implement Arduino timer, delay, etc
in terms of the corresponding Contiki routines. Verified that now delay
works as expected. The LED in examples/osd/arduino-sketch blinks!

Before this, the arduino_init routine in wiring.c destroyed the timer-0
initialization of contiki, making both, contiki timer implementation
*and* contiki timer implementation fail if the arduino_init routine was
called. Now both work.

Squashed with following bug-fix commit.
2014-11-19 13:50:58 +01:00
apps Make Arduino timer stuff work on Contiki 2014-11-19 13:50:58 +01:00
core bugfix server client demo 2014-11-19 13:34:37 +01:00
cpu Fixes for platform timer code 2014-11-19 13:48:42 +01:00
dev Add Arduino compatibility layer 2014-11-19 13:48:05 +01:00
doc [doc] Added minimal doxygen anchor for each platform currently available in Contiki 2014-11-10 23:53:34 +01:00
examples Make Arduino timer stuff work on Contiki 2014-11-19 13:50:58 +01:00
platform Make Arduino timer stuff work on Contiki 2014-11-19 13:50:58 +01:00
regression-tests Output sha1sums of files used for simulation on fail 2014-11-13 09:10:53 +01:00
tools Output sha1sums of files used for simulation on fail 2014-11-13 09:10:53 +01:00
.gitignore Add initial EV-ADuCRF101MKxZ platform support 2014-07-22 21:18:16 -04:00
.gitmodules Added the cc2538-bsl submodule to the tools dir 2014-03-07 15:44:29 +01:00
.travis.yml Always compile verbose when running the CI 2014-11-13 09:10:53 +01:00
CONTRIBUTING.md Adding a CONTRIBUTING file to use github feature 2014-07-04 09:29:12 +02:00
LICENSE Removed the explicit year 2012 to make it more generic 2012-10-25 23:08:54 +02:00
Makefile.include Allow compilation of c++ files (extension .cpp) 2014-11-19 13:47:51 +01:00
README-BUILDING.md Rename to md 2013-03-26 23:15:37 +01:00
README-EXAMPLES.md Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
README.md Rename to md 2013-03-26 23:15:37 +01:00

The Contiki Operating System

Build Status

Contiki is an open source operating system that runs on tiny low-power microcontrollers and makes it possible to develop applications that make efficient use of the hardware while providing standardized low-power wireless communication for a range of hardware platforms.

Contiki is used in numerous commercial and non-commercial systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, remote house monitoring, and so on.

For more information, see the Contiki website:

http://contiki-os.org