Commit Graph

196 Commits

Author SHA1 Message Date
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
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
Fredrik Osterlind
8ebacd1a1a reverted previous patch that broke compiling on Instant Contiki 2012-05-25 11:25:19 +02:00
Fredrik Osterlind
50caa3650c new experimental feature: possibility to change mote types when loading a simulation
made compile dialogs only select mote interfaces specified in the loaded configuration
2012-05-23 14:59:41 +02:00
Fredrik Osterlind
862452b5b0 removed debugging output, code style 2012-03-13 14:17:43 +01:00
Fredrik Osterlind
97c7a55eea simulating 1 ms turnaround time (before transmissions) by default, and no transmissions on channel busy 2012-03-09 14:58:13 +01:00
Fredrik Osterlind
e8294e8699 added objcopy external tools configuration
changed nm command to sort numerically, and changed regexpressions to accept output from newer gcc versions
added more debugging info under help menu
2012-03-09 14:57:21 +01:00
Ilya Dmitrichenko
9c99d46e24 Simplified host OS platform detection in Makefiles 2012-02-25 10:09:33 -05: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
Fredrik Osterlind
aecb4b03cc bug fix: rpl was not included correctly 2012-01-31 14:53:52 +01:00
Niclas Finne
ed1780f9af Removed quickstart rule for target 'clean' to avoid make warnings 2011-10-24 17:04:45 +02:00
Oliver Schmidt
f83fb3704b Replaced make-empty-symbols with empty-symbols.[c|h]
The symbol generation shell scripts cause CRLF issues on Windows/Cygwin again and again. Instead of fixing this yet again I opted to remove the symbol generation script at least for the "no symbols" scenario with two C source files to be copied.
2011-04-03 13:24:58 +02:00
Fredrik Osterlind
a501816472 example of adding cooja-platform mote interface manually 2011-02-11 15:23:59 +01:00
adamdunkels
9446d37285 Increased the default Cooja CFS size to 4000 bytes so that examples work (found by Roger Larsson) 2010-11-15 21:44:37 +00:00
fros4943
3563089a91 reimplemented initial support for referencing contiki source files in cooja projects 2010-11-10 13:11:43 +00:00
adamdunkels
5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
fros4943
93b953f815 moved contiki-specific initialization to separate function 2010-09-24 12:59:06 +00:00
adamdunkels
3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
adamdunkels
951fd78f6c ctimer moved from net/rime to sys/ 2010-06-14 18:58:45 +00:00
fros4943
8f1988e7fc using OBJECTDIR instead of "obj_cooja" + bugfix: allow for externally defined CC 2010-06-11 15:17:26 +00:00
fros4943
79aa299531 fixed random seed for cooja motes 2010-05-02 09:42:15 +00: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
e3e69afd15 changed to ds6 module, instead of obsolete netif module 2010-03-29 11:52:08 +00:00
fros4943
9dfce4bea1 removed bad uip-netif.h include 2010-03-29 10:43:03 +00:00
fros4943
a5092220b4 fixed next timer variable types 2010-03-25 09:12:03 +00:00
adamdunkels
2a3d0dc042 Bugfix: data that has been prepared with the prepare() method must be possible to send multiple times 2010-03-23 15:19:55 +00:00
adamdunkels
432a3fd12e Bugfix: the return values from the cca method were switched 2010-03-23 15:10:27 +00:00
fros4943
1322195921 defining rtimer_clock_t to the same as clock_time_t 2010-03-23 13:34:00 +00:00
fros4943
c66dd0b1bf implemented rtimer library for simulated contiki motes 2010-03-23 13:13:17 +00:00
fros4943
49526e100f added simulated interrupt thread, currently only used to implement rtimer functionality 2010-03-23 13:12:41 +00:00
fros4943
bee0ea4834 temporarily turning on radio for sending a packet 2010-03-23 12:13:43 +00:00
adamdunkels
03d1388c0d Print out MAC and RDC when booting cooja nodes 2010-03-23 12:08:05 +00:00
adamdunkels
cd3a7c7a73 Dummy watchdog implementation for cooja nodes 2010-03-23 12:07:03 +00:00
fros4943
645d505f46 contiki-cooja-main.c requires CLASSNAME 2010-03-15 11:03:17 +00:00
fros4943
5b2caf2050 removed the use of a template source file when compiling for the cooja platform, instead compiling against contiki-cooja-main.c.
this change simplifies access to the contiki main source, and makes the cooja platform more similar to other contiki targets
2010-03-15 11:02:57 +00:00
fros4943
89d7d926c4 added ipv4 and ipv6 default configuration 2010-03-10 12:18:29 +00:00
fros4943
7465fb812a removed explicit init-net*.c for cooja platform, instead performed in main file (contiki-template.c) 2010-03-10 12:18:07 +00:00
fros4943
f8488925eb added uip-driver (for both ivp4 and ipv6), setting WITH_UIP* compiler flags in Makefile 2010-03-10 12:15:52 +00:00
fros4943
98929bd2f5 cooja-platform netstack conf example 2010-03-10 07:35:49 +00:00
fros4943
45a6740782 radio sensor was removed 2010-03-10 07:35:09 +00:00
fros4943
48d6d1fd6d removed no longer used cooja/contiki synchronization variables 2010-03-09 08:14:31 +00:00
fros4943
0cc96ae481 net stack update: currently fixed to null* and rime. 2010-03-09 08:14:06 +00:00
fros4943
f87458c558 removed radio "sensor" (only used for signal strengths, also available in radio driver) 2010-03-09 08:12:15 +00:00
fros4943
07753fb01f updated radio driver, simplified code 2010-03-09 08:11:05 +00:00
fros4943
b9bf06c2a7 decreased default cooja CFS size 2010-02-05 08:59:51 +00:00
fros4943
ee11b61064 bugfix: puts() should append newline character + min buffer size 1024 also with uIP 2010-01-25 12:34:05 +00:00
nifi
00e8164e58 updated vibration sensor name to Contiki standard 2010-01-14 20:02:55 +00:00
nifi
4ffa7b95b7 Updated to match the new sensors API 2010-01-14 19:19:50 +00:00
nifi
7154b4c68d Removed references to irq, which is not used with the new sensor APIs 2010-01-14 19:14:47 +00:00