Commit graph

11 commits

Author SHA1 Message Date
Adam Dunkels
bb2dcaa057 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
Robert Quattlebaum
b8c0f2de6c cpu/native: Add file-backed simulated EEPROM to native cpu.
This patch removes a defunct EEPROM implementation from the native
platform and provides a new EEPROM implementation for the native cpu.
The previous implementation appears to be vestigal.

This is useful for testing code which uses the EEPROM without running
the code on the actual hardware.

By default the code will create a new temporary file as the EEPROM
backing, reinitializing each time. If you would like to preserve the
EEPROM contents or specify a specific EEPROM file to use, you can set the
`CONTIKI_EEPROM` environment variable to the name of the EEPROM file you
wish to use instead. If it already exists, its contents will be used.
If it does not already exist, it will be created and initialized by
filling it with `0xFF`---just like a real EEPROM.

A new example is also included, which was used to verify the correctness
of the implementation. It can easily be used to verify the EEPROM
implementations of other targets.
2013-05-18 10:29:41 -07:00
François Revol
3d33248eff native: Fix trailing whitespace 2013-03-19 20:00:26 +01:00
Adam Dunkels
944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Niclas Finne
8b83ffec67 Added native-border-router and slip-radio 2012-01-01 09:29:33 +01:00
adamdunkels
4f6f6c972d Use new sensors API 2010-01-14 20:15:55 +00:00
adamdunkels
fe126bc90e Updated to match the new sensors API 2010-01-14 15:38:56 +00:00
adamdunkels
710f9cf54b Removed debug printout 2008-07-09 09:37:50 +00:00
adamdunkels
84a42a0bb3 xmem implementation for the native platform 2008-07-03 23:11:27 +00:00
nifi
51f38adaf4 removed unused constants (BEEP_ON/BEEP_OFF) 2006-07-07 06:38:53 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00