Commit graph

46 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
Moritz 'Morty' Strübe c67c048cac Clean up setting channel and CCA-threshold for CC2420 based motes.
The CCA-threshold now defaults to -46 which give better simulation
results and typically also better experimental results.
This adjustment is also needed due to commit 0a13f99 in mspsim. As
promised in https://github.com/mspsim/mspsim/pull/18 it broke the
regression tests.
2013-11-07 17:28:33 +01:00
Simon Duquennoy 248301a041 Fix naming issues and includes in uip-ds6-nbr.h 2013-08-19 17:48:30 +02:00
Simon Duquennoy ff093a2b50 Removed now unused per-module neighbor table size configs. Use NEIGHBOR_CONF_MAX_NEIGHBORS instead. 2013-08-19 17:48:30 +02: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 91206e2249 Avoid multiple definitions of NETSTACK_CONF_MAC. Turn on RPL by default. 2012-11-21 20:11:22 +01:00
Adam Dunkels e178787999 Fixed compilation problems on the micaz and exp5438 platforms due to the node-id change 2012-11-20 21:16:50 +01:00
Adam Dunkels ec8c7e9be0 Cleanup of the node-id.h files. The node-id.h file contains
declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
2012-11-20 19:59:46 +01:00
George Oikonomou 67bf9ec10e DOS EOL and indentation fixes (platform files)
- Removed some DOS EOLs
- Changed some tabs to spaces
- Removed some trailing whitespaces

Closes #6
2012-10-30 13:44:25 +00: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
David Kopf cac4e9a222 Add clock_delay_us and clock_set_seconds to clock.h. Modify clock_wait to use clock_time_t.
Remove the troublesome avr/dev/delay.* files.
Add PLATFORM_NAME and combine the confusing *_REVISION defines into a single PLATFORM_TYPE
2012-04-09 15:49:53 -04:00
Ilya Dmitrichenko 9c99d46e24 Simplified host OS platform detection in Makefiles 2012-02-25 10:09:33 -05:00
Adam Dunkels 8fee2a507c Removed the obsolete MAC_CONF_CHANNEL_CHECK_RATE (now replaced with NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE) 2011-09-05 20:43:10 +02:00
David Kopf 6ae3e2bcb2 Restore micaz/dev/clock.c, mysteriously renamed to iris/dev/sensors/battery-sensor.c 2011-08-03 11:44:22 -04:00
David Kopf 6ec85fe079 Add Iris port of Shinta Hatatani 2011-08-03 10:17:59 -04:00
HATATANI Shinta 3c168cc395 merge iris and micaz 2011-07-17 10:36:35 +09:00
Fredrik Osterlind 499c13a357 removed execute flag of source files (avoids diff problems with egit) 2011-03-01 18:16:42 +01:00
kasunch 753cd22d56 Changing line ending to LF 2010-12-04 08:22:10 +00:00
kasunch 5a46c629de Added missing slip.c file to CONTIKI_TARGET_SOURCEFILES 2010-10-19 17:05:45 +00:00
kasunch 75e4e80df2 Adding machine dependent SLIP routines source file to the sources list 2010-09-20 18:34:14 +00:00
kasunch ce8bb8df9c Adding machine dependent SLIP routines for UART0. 2010-09-20 18:30:25 +00:00
kasunch 6104922c40 Added new network initialization source file to the sources list. 2010-09-20 18:22:28 +00:00
kasunch 4ebc114e90 Now, all network related initialization code segments are in one file 2010-09-20 18:15:27 +00:00
kasunch 3f1bea1ed3 1. Initialized SLIP when uIPv4 or uIPv6 is used.
2. Random number generator is initialized using both node id and unique hardware id
3. Printing MAC address is moved to network initialization section.
2010-09-20 18:07:25 +00:00
kasunch cdc68b13e0 1. Added uIPv6 configuration options.
2. Fine tuned some configuration options to save RAM.
2010-09-20 17:56:14 +00:00
joxe 857883558b adapted to the new spi and cc2420 naming - and split config file 2010-06-23 10:25:54 +00:00
joxe 80ec597f75 moved config from cc2420 to micaz 2010-06-21 19:53:58 +00:00
kasunch 350fb21ff7 Adding a Makfile for example applications. 2010-02-24 09:14:46 +00:00
kasunch 80a408526f Adding an example application for battery sensor 2010-02-24 09:13:56 +00:00
kasunch c90b76427a Adding ADC sources and battery sensor source to CONTIKI_TARGET_SOURCEFILES. 2010-02-24 09:09:35 +00:00
kasunch 0c9612b7b9 Adding battery sensor 2010-02-24 09:05:40 +00:00
kasunch ea53e5b845 Adding ADC functions 2010-02-24 09:04:58 +00:00
adamdunkels ebea184116 Added netstack config for CC2420 radio driver, and also for cxmac RDC layer (which is not confirmed if it runs on real hardware, only tested in simulation) 2010-02-23 18:42:41 +00:00
adamdunkels fa4d4db329 Use the common netstack_init 2010-02-18 23:19:03 +00:00
adamdunkels 459c550cbd Updated to match the new netstack api 2010-02-18 23:04:54 +00:00
adamdunkels 091483c150 Added dummy watchdog functions for all AVR platforms 2010-02-07 07:43:35 +00:00
adamdunkels 4e830b1b5d Dummy watchdog implementation so that programs that use the watchdog compiles 2010-02-02 17:04:18 +00:00
kasunch ca6c8818b1 Two comment fixes 2009-10-22 15:48:20 +00:00
kasunch 1ee52635c8 1. Changed fuse bits to preserve EEPROM through the chip erase when uploading a new OS image.
2. Added a new make rule to erase EEPROM through the chip erase.
2009-09-24 07:09:31 +00:00
kasunch 71b5872045 Added node id restoring at the boot-up. 2009-09-24 06:53:35 +00:00
kasunch 5e1db8b6fa Added node id restoring and burning functions. 2009-09-24 06:51:22 +00:00
kasunch f617b77b87 Added the EEPROM starting address of node id. 2009-09-24 06:45:48 +00:00
kasunch 4319e8b82e 1. Add MAC address displaying during the booting.
2. Set LEDs to turn on at different stages of the booting process.
2009-09-13 21:42:43 +00:00
kasunch 7444c41da9 Adding device driver files for the Dallas Semiconductor DS2401 chip to the CONTIKI_TARGET_SOURCEFILES list. 2009-09-13 21:28:48 +00:00
kasunch e2224a8384 Device driver for the Dallas Semiconductor DS2401 chip. 2009-09-13 21:21:16 +00:00
kasunch 1bede62d2a Initial files of the MICAz port. 2009-09-08 08:59:29 +00:00