The official git repository for OSD-Contiki, the open source OS for the Internet of Things
Go to file
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
apps Merge pull request #189 from sieben/markdown 2013-05-16 00:24:25 -07:00
core cpu/native: Add file-backed simulated EEPROM to native cpu. 2013-05-18 10:29:41 -07:00
cpu cpu/native: Add file-backed simulated EEPROM to native cpu. 2013-05-18 10:29:41 -07:00
doc Update of doxygen.to 1.8.1.2 using doxygen -u 2013-04-14 16:36:05 +02:00
examples cpu/native: Add file-backed simulated EEPROM to native cpu. 2013-05-18 10:29:41 -07:00
platform cpu/native: Add file-backed simulated EEPROM to native cpu. 2013-05-18 10:29:41 -07:00
regression-tests cpu/native: Add file-backed simulated EEPROM to native cpu. 2013-05-18 10:29:41 -07:00
tools Rename to md 2013-03-26 23:15:37 +01:00
.gitignore Added Apple II 3.5" floppy image. 2013-02-05 21:07:54 +01:00
.travis.yml Split the collect test into collect and collect-lossy to make each individual 2013-03-18 09:07:33 +01:00
LICENSE Removed the explicit year 2012 to make it more generic 2012-10-25 23:08:54 +02:00
Makefile.include Separated the uIP makefile from the top-level Makefile.include into a separate core/net/Makefile.uip makefile 2013-03-18 09:45:29 +01:00
README-BUILDING.md Rename to md 2013-03-26 23:15:37 +01:00
README-EXAMPLES.md Rename to md 2013-03-26 23:15:37 +01: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