Smart supermarket toy implementation for Networked Embedded Systems exam on Launchpad CC2650 with contiki-ng
Go to 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
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
.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
LICENSE
Makefile.include
README-BUILDING.md
README-EXAMPLES.md
README.md

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