The official git repository for OSD-Contiki, the open source OS for the Internet of Things
Find a file
Cristiano De Alti 1bdec853e1 Prevent interger overflow on the AVR
Compiling examples/er-rest-example for the avr-raven gives:

  integer overflow in expression [-Woverflow]

On the AVR int is 16 bit and some calculations may overflow.
This happens for example with multiplications involving
CLOCK_SECOND where all the operands are of type int.
Casting one of the operands to clock_time_t forces
the arithmetic to clock_time_t without increasing the size
of the program (the calculation is performed at compile time).
2016-11-05 22:46:42 +01:00
apps fixed typo in debug PRINTF definition 2016-10-25 12:38:15 +03:00
core Prevent interger overflow on the AVR 2016-11-05 22:46:42 +01:00
cpu Merge pull request #1906 from bthebaudeau/fix-cc2538-disabled-lpm-warnings 2016-10-31 21:38:16 +01:00
dev cc1200: configurable tx-rx turaround time 2016-09-23 09:41:20 +02:00
doc Update comments: RFC3513 is obsoleted by RFC4921 2016-07-18 17:29:16 +08:00
examples Renamed driver and reworked to support both TSL2561/TSL2563 2016-10-19 23:13:25 +02:00
lib/newlib Implement generic Newlib syscalls 2015-12-16 19:50:49 +01:00
platform Merge pull request #1897 from mdlemay/shrink-pinmux-array 2016-11-02 21:40:42 +01:00
regression-tests Add sensniff travis tests 2016-08-12 15:58:02 +01:00
tools Fixed ProDOS 800kB image. 2016-10-11 11:18:23 +02:00
.gitattributes Add binary files file extension 2015-10-22 16:19:39 +02:00
.gitignore Merge pull request #1469 from wbober/nrf52dk-pr 2016-06-01 23:11:39 +02:00
.gitmodules Change CCxxware submodule URLs 2016-07-17 00:26:52 +01:00
.travis.yml Run RPL regression tests in non-storing mode 2016-06-08 14:03:19 +02:00
CONTRIBUTING.md Updated CONTRIBUTING.md to reflect Contiki's new merging policy 2015-08-18 22:06:56 +02:00
LICENSE Removed the explicit year 2012 to make it more generic 2012-10-25 23:08:54 +02:00
Makefile.include Extended SOURCEDIRS variable with EXTRALDIRS variable in Makefile.include 2016-02-15 09:37:38 +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 Travis icon in README.md: show build status of the current master rather than latest build status (can be any pull request) 2015-08-19 09:21:38 +02: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