Smart supermarket toy implementation for Networked Embedded Systems exam on Launchpad CC2650 with contiki-ng
Go to file
Benoît Thébaudeau d70c75914a cfs-coffee: Fix build warning
Fix this build warning, which is generated if micro logs are enabled:

In file included from ../../core/cfs/cfs-coffee.c:59:0:
../../core/cfs/cfs-coffee.c: In function 'read_log_page':
../../cpu/cc2538/./cfs-coffee-arch.h:145:24: warning: passing argument 1 of 'cfs_coffee_arch_read' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   cfs_coffee_arch_read((buf), (size), (offset))
                        ^
../../core/cfs/cfs-coffee.c:757:3: note: in expansion of macro 'COFFEE_READ'
   COFFEE_READ(lp->buf, lp->size, base);
   ^
../../cpu/cc2538/./cfs-coffee-arch.h:176:6: note: expected 'void *' but argument is of type 'const char *'
 void cfs_coffee_arch_read(void *buf, unsigned int size, cfs_offset_t offset);
      ^

COFFEE_READ() needs to write to lp->buf, so the target type of this
pointer cannot be qualified as "const".

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2016-05-30 23:05:11 +02:00
apps oma-lwm2m: Use Accept header to determine the writer object for the content 2016-05-28 07:55:27 +02:00
core cfs-coffee: Fix build warning 2016-05-30 23:05:11 +02:00
cpu Merge pull request #1531 from bkozak-scanimetrics/cc26xx_cc13xx_lpm_fixes 2016-05-24 16:45:20 +01:00
dev Merge pull request #1447 from alignan/pull/cc1200-sensniff 2016-04-27 23:59:45 +02:00
doc Fix doxygen warning 2016-03-15 10:25:05 +01:00
examples Merge pull request #1530 from herjulf/avr-rss2 2016-05-15 20:38:50 +01:00
lib/newlib Implement generic Newlib syscalls 2015-12-16 19:50:49 +01:00
platform Fixed typo 2016-05-24 10:50:20 +02:00
regression-tests Merge pull request #1660 from yatch/pr-fix-wpcapslip-path 2016-05-19 13:14:18 +02:00
tools do not use setBaudrate 2016-05-02 18:48:16 +02:00
.gitattributes Add binary files file extension 2015-10-22 16:19:39 +02:00
.gitignore Added a pfs_remove() function and a pfs_seek() stub to the Commodore platforms. 2016-03-28 14:07:35 +02:00
.gitmodules Align to current master 2015-09-04 17:01:04 +02:00
.travis.yml Merge pull request #1530 from herjulf/avr-rss2 2016-05-15 20:38:50 +01:00
CONTRIBUTING.md
LICENSE
Makefile.include
README-BUILDING.md
README-EXAMPLES.md
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