Commit graph

239 commits

Author SHA1 Message Date
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
nifi 2a7ad011c5 Updated to match the new sensors API 2010-01-14 19:12:31 +00:00
joxe 071a9eaa6b adapted for new sensor APIs 2010-01-14 16:13:45 +00:00
nifi 831f16cf61 Fixed COOJA quickstart to run COOJA from current directory 2009-10-28 13:39:15 +00:00
fros4943 bf1920386a increased log buffer size with uIP SLIP 2009-10-19 18:00:49 +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
nvt-se 9d7bdad864 use CLOCK_CONF_SECOND. 2009-09-04 13:59:37 +00:00
nvt-se fed4a58102 return the amount of seconds elapsed in clock_seconds() 2009-09-04 13:57:17 +00:00
nvt-se a21dece53f removed unused state codes and unused printf statements 2009-09-03 12:57:57 +00:00
fros4943 300f3396ac allow contiki motes to handle several contiki events each tick + corrected variables types 2009-05-26 14:08:51 +00:00
fros4943 faec70dee0 test app update: print sensor type 2009-05-19 17:54:08 +00:00
fros4943 9f299c277e added experimental slip support for contiki motes 2009-04-23 09:15:51 +00:00
fros4943 9bd3d07510 implemented slip_arch_writeb() function 2009-04-23 09:02:06 +00:00
fros4943 b65014d1be bugfix by Wolf-Bastian Pttner: check buffer size at incoming radio data 2009-04-16 14:38:41 +00:00
fros4943 3b3580e439 disabled writing IP addresses from inside COOJA, since the these should rather be determined by Contiki 2009-04-01 18:11:48 +00:00
fros4943 aa736322e1 removed unused uip/uaodv cooja comm stack. mesh-uip should be used instead 2009-04-01 17:17:55 +00:00
fros4943 3665422d8d simplified cooja communication stacks initialization + added uipv6 stack 2009-04-01 13:50:12 +00:00
fros4943 6a99a82516 copied uipv6 configuration from native platform 2009-04-01 13:46:56 +00:00
fros4943 1c031504e5 no need to initialize serial line 2009-04-01 13:46:16 +00:00
fros4943 892bfb5678 moved radio-uip link functionality directly to comm stack sources 2009-04-01 13:45:41 +00:00
fros4943 eddd8350c5 renamed radio driver 2009-04-01 13:44:34 +00:00
fros4943 afed9bb2d0 icnlude packet radio by default 2009-04-01 13:39:54 +00:00
fros4943 5f1fda0406 removed unused variables + writing serial data in timeevent 2009-03-26 16:23:47 +00:00
fros4943 dda6de8438 + clock stub functions 2009-03-26 16:22:36 +00:00
fros4943 c76f34ff98 minor serial test application update 2009-03-21 15:47:40 +00:00
fros4943 9c9165dc90 start cooja with more memory to avoid outofmemory problems when running mspsim-based simulations 2009-03-20 13:23:44 +00:00
adamdunkels 727c5a2dbe Renamed serial module to serial-line 2009-03-17 20:32:22 +00:00
adamdunkels 0076bfe8a5 Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
fros4943 d6ebba536c minor 64 bit fix: divide by sizeof(unsigned long) instead of constant 4 2009-03-13 14:40:07 +00:00
fros4943 99b9e80de9 make all quickstart target phony 2009-03-12 17:48:23 +00:00
fros4943 72fdf5b379 make quickstart goal precious 2009-03-12 15:12:50 +00:00
fros4943 063bf88f90 cooja quickstart should be started from normal cooja working directory, otherwise config relative paths won't work
+
cygwin path fix for quickstart
2009-03-12 13:04:10 +00:00
fros4943 5d27841807 + contiki app object 2009-03-11 08:40:37 +00:00
fros4943 bcb34297df reimplemented quickstart functionality 2009-03-11 07:45:54 +00:00
fros4943 0bc10750bc added rule for .cooja target.
compiling for cooja is now similar to other platforms, for example:
make hello-world.cooja TARGET=cooja
2009-03-10 21:23:38 +00:00
fros4943 3774395c82 cfs example updated 2009-03-02 09:44:07 +00:00
fros4943 286065b584 cfs updated 2009-03-02 09:34:47 +00:00
fros4943 9c8c4898f7 updating cooja cfs stubs according to recent commits 2009-02-27 16:06:25 +00:00
fros4943 0ab57730f8 removed reference to the removed u16 rime address field 2008-12-01 13:20:51 +00:00
fros4943 6150d13254 support for contiki-node simulation on 64-bit architectures (contributed by Jesper Karlsson and David Gustafsson) 2008-11-28 16:41:26 +00:00
fros4943 641c48ee00 not limiting random seed to 99 2008-10-28 15:37:34 +00:00
fros4943 115a2b0782 renaming printf/putchar/puts symbols to avoid jni library loading overriding our custom implementations
experimental: directly references objcopy (tested on win32+linux)
2008-10-05 15:43:09 +00:00
fros4943 d79b1d55f7 not implementing putc(..FILE*) function, only stdout 2008-10-05 15:40:27 +00:00
fros4943 4cc56a741d printf implementation towards cooja 2008-10-03 09:41:16 +00:00
fros4943 08502eb344 removed refences to printf2log.h 2008-10-03 09:39:38 +00:00
fros4943 2fb6410e4d removed old printf output conversion method, instead implementing putchar() and printf() 2008-10-03 09:37:32 +00:00
fros4943 c4df31376e cooja hello world (+ include printf2log.h) 2008-04-22 13:07:49 +00:00
fros4943 b5d09f3822 set default radio channel: 26
same as sky platform
2008-03-18 16:22:00 +00:00
fros4943 660bc5e991 changed ss values + added configurable csma mac 2008-03-17 09:48:00 +00:00
fros4943 27ac84d009 simlog function declaration 2008-02-11 18:45:18 +00:00
fros4943 4c56fce697 updated cfs_write arguments 2008-02-11 18:40:16 +00:00
fros4943 4c131d6975 added max printf2log message size 2008-01-11 15:37:38 +00:00
fros4943 c028df7ecf not using mempcy for ack crc 2007-12-13 16:57:31 +00:00
fros4943 afb1cb28d3 initializing rimeaddr from nodeid similar to sky platform (!= esb platform) 2007-12-13 16:11:22 +00:00
fros4943 0fc2178857 added queuebuf conf 2007-12-13 08:00:51 +00:00
fros4943 3bfa34f4c3 removed the symbols dummy target 2007-11-29 04:57:04 +00:00
fros4943 06ce414c56 updated bad file info 2007-11-25 22:48:35 +00:00
fros4943 d6f46bfcaa minor fix for SYMBOLS 2007-11-25 22:47:43 +00:00