Commit Graph

22 Commits

Author SHA1 Message Date
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
Adam Dunkels
277a348f60 Changed the name of the IPv6 number of route entries configuration from UIP_CONF_DS6_ROUTE_NBU to UIP_CONF_MAX_ROUTES. 2013-03-18 11:12:44 +01:00
Adam Dunkels
aaa950ab17 Cooja platform changes to get IPv6/RPL to work better 2012-12-10 01:50:32 +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
Nicholas J Humfrey
680225e99d Converted u8_t to uint8_t and u16_t to uint16_t in the platforms directory.
Added "These names are deprecated, use C99 names" warnings the contiki-conf.h files that were missing it.
2012-02-21 08:33:25 -05:00
fros4943
c21ff48788 ip forwarding only for ipv4 2010-03-31 10:22:33 +00:00
fros4943
c2354a5797 changed cooja platform default uip4 configuration to use uip_over_mesh with a slip gateway 2010-03-31 09:39:46 +00:00
fros4943
1322195921 defining rtimer_clock_t to the same as clock_time_t 2010-03-23 13:34:00 +00:00
fros4943
89d7d926c4 added ipv4 and ipv6 default configuration 2010-03-10 12:18:29 +00:00
fros4943
98929bd2f5 cooja-platform netstack conf example 2010-03-10 07:35:49 +00:00
fros4943
0cc96ae481 net stack update: currently fixed to null* and rime. 2010-03-09 08:14:06 +00:00
zhitao
bdce08d39d augmented CFS compliance for a RAM-based, one-file-only file system in Cooja. 2009-09-08 15:08:20 +00:00
fros4943
6a99a82516 copied uipv6 configuration from native platform 2009-04-01 13:46:56 +00:00
fros4943
0fc2178857 added queuebuf conf 2007-12-13 08:00:51 +00:00
fros4943
8aac8cde97 removed unused old stuff
+ introduced COOJA definition
2007-11-25 22:47:18 +00:00
fros4943
d80efeb8ed defining uip cache size 2007-07-20 15:21:56 +00:00
fros4943
d6d34b33a5 aodv setting 2007-05-29 09:13:37 +00:00
oliverschmidt
4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
oliverschmidt
4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
fros4943
b1c7153aa6 Added interface config (earlier added by Oliver) 2006-08-30 14:48:36 +00:00
fros4943
f75392de6a lowered uIP settings for smaller memory requirements during simulations 2006-08-30 10:04:08 +00:00
fros4943
e81861a0cd added cooja; 'The Contiki OS Java Simulator' 2006-08-21 12:11:16 +00:00