Commit Graph

11626 Commits

Author SHA1 Message Date
adamdunkels
6bd28132ed Fixed the behaviour of PT_SCHEDULE() so that it returns true if a protothread is still active (yielded or waiting). Thanks to Kevin Collins for fixing. 2006-09-26 20:57:58 +00:00
adamdunkels
e072e4084a Added a function for measuring stack usage 2006-09-26 20:56:42 +00:00
adamdunkels
25a132cff2 A module that allows Contiki processes to have subprocesses. A subprocess is defined within another process and is created on the fly when needed. 2006-09-26 20:53:27 +00:00
bg-
4485e50351 Add ssd kernel and uip-udp-packet.o. 2006-09-26 15:52:37 +00:00
bg-
670f414594 * FASTSPI_READ_RAM_LE(p,a,c,n) for completeness. 2006-09-26 15:48:01 +00:00
bg-
3de6d787c9 * New function slip_write(u8_t *ptr, int len).
* Slip active detection and current address reporting.
2006-09-26 15:47:14 +00:00
bg-
1429faa22e Fancier tunslip with keepalives, address detection, route management,
route cleanup.
2006-09-26 15:45:09 +00:00
fros4943
17431ba16c changed mote state to enum type instead of int 2006-09-26 13:08:05 +00:00
fros4943
7ef9271567 added method to get last tick used energy 2006-09-26 12:47:06 +00:00
oliverschmidt
328071ff10 Added network support to the Win32 platform.
Network I/O is done using the usual suspect - which is WinPcap. There's no need for the WinPcap Developer's Pack! An ordinary WinPcap install - as it is i.e. part of Ethereal - is sufficient.

The code is still under development. But as I recently successfully opened HTML pages with the Contiki web browser I thought it might be the right time for an initial commit.
2006-09-23 20:25:02 +00:00
oliverschmidt
f601f3a0ac Added the CCIF (Contiki Core InterFace) declarations necessary for logging from loadable code on Win32. 2006-09-23 20:12:40 +00:00
oliverschmidt
9e9677b4f0 Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable ARP handler. 2006-09-23 20:10:08 +00:00
adamdunkels
1ab2bba7b8 Fix for bug when script goes past the end of a file (thanks to Till Harbaum) 2006-09-20 19:18:56 +00:00
adamdunkels
cf57e00d60 uip_ipaddr_t changes fixed thanks to Marcelo Barros 2006-09-20 19:06:41 +00:00
oliverschmidt
3e92f843ba More uip_ipaddr_t fixes. 2006-09-18 23:27:42 +00:00
oliverschmidt
fca710e447 More uip_ipaddr_t fixes and removal of the last occurances of WITH_ETHERNET. 2006-09-18 22:48:05 +00:00
oliverschmidt
d3e4b7524d Examples really benefit from actually working ;-) 2006-09-09 23:29:50 +00:00
oliverschmidt
83561d8963 Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable packet driver. 2006-09-09 23:24:39 +00:00
oliverschmidt
253dcb44ce Replaced Win32 ctrl-c handler with C-library atexit handler (taking care of ctrl-c too) now that we have a Contiki Quit menu calling exit(). 2006-09-09 23:20:39 +00:00
oliverschmidt
e3dab56825 Do a consistent non-UNICODE build. 2006-09-09 23:13:09 +00:00
oliverschmidt
8a8575b63c Don't make assumptions on textentry contents beyond the first '\0'. 2006-09-09 23:09:59 +00:00
bg-
63c431a271 Oops. broken backwards compat. 2006-09-07 17:05:21 +00:00
bg-
35e6053795 Use ticks for s.ticks. 2006-09-07 15:57:59 +00:00
bg-
e521d25241 Add processing of command line options but stay backwards compatible. 2006-09-07 15:48:47 +00:00
fros4943
2a221971f4 quickstart outputs error stream from compilation 2006-09-07 12:01:35 +00:00
fros4943
b06d4a9617 changed compileLibrary to accept output streams instead of message window 2006-09-07 11:59:50 +00:00
fros4943
ac57250e80 added getInputStream method. returns a stream which ends in message window 2006-09-07 11:54:15 +00:00
fros4943
3af7e79333 bugfix: possible to append to null message lsit 2006-09-07 11:03:37 +00:00
fros4943
2edf36f4cf updated move action (uses move cursor) 2006-09-07 09:54:37 +00:00
fros4943
323186791d example how to quickstart cooja 2006-09-06 14:47:59 +00:00
fros4943
c729adb8ee removed old unused makefile-quickstart code
+
tidied up some code
2006-09-06 12:26:33 +00:00
fros4943
1a3761e1a9 removed old unused makefile-quickstart code
+
tidied up makefile
2006-09-06 12:20:12 +00:00
fros4943
4c52b930c8 added copyright header 2006-09-06 10:37:08 +00:00
fros4943
f9d4fa93f8 removed old unused makefile-quickstart code 2006-09-06 10:32:31 +00:00
fros4943
bfbf253a93 removed old unused makefile-quickstart code 2006-09-06 10:23:24 +00:00
fros4943
720db06163 added new (experimental) quickstart method
example usage (from user platform):
> java -jar $CONTIKI/tools/cooja/dist/cooja.jar -quickstart=myprocsource.c -contiki=$CONTIKI
2006-09-06 10:05:22 +00:00
fros4943
0490cb7c35 outsourced 'scan for autostart processes' to static method 2006-09-05 14:57:57 +00:00
fros4943
8c16d29d5e minor bug fix 2006-09-05 14:12:48 +00:00
adamdunkels
a918793e19 Put mt.c back in there, but this time the problematic code that was in the file is commented out 2006-09-01 22:57:32 +00:00
adamdunkels
ea13dd9179 #if 0:ed out unused code 2006-09-01 22:56:47 +00:00
adamdunkels
80a7d1fba2 Added mtarch.c 2006-09-01 22:56:26 +00:00
adamdunkels
2ab93b730f Fixed include path 2006-09-01 22:56:18 +00:00
adamdunkels
fbcb4a97c2 Made stacksize configurable via external definition 2006-09-01 22:56:02 +00:00
adamdunkels
b7a0184eac Removed compilation of unused file mt.c 2006-09-01 07:13:56 +00:00
adamdunkels
7bfd457bbc Fixed bug where instruction to be relocated was fetched from an incorrect location 2006-09-01 07:10:01 +00:00
adamdunkels
2380d63260 Added uip-udp-packet.h 2006-08-31 09:36:46 +00:00
adamdunkels
deba5cfcd5 Added uip-udp-packet.c. Made native the default target. Added a 'targets' target that lists all available targets. 2006-08-31 09:36:29 +00:00
adamdunkels
b8bf33f53f Functions for sending individual UDP datagrams 2006-08-31 09:35:27 +00:00
oliverschmidt
d3d215d142 The special handling of mouse-over detection for bitmaps and icons seems unnecessary since the the member 'h' is always present and can always be assumed to be initialized. Furthermore the special handling prevented multiline textentries to be treated correctly. Therefore the special handling is now completely removed (and the handling of the 'h' member is adjusted). 2006-08-30 23:12:33 +00:00
oliverschmidt
162ca26b65 Activated quit menu option. 2006-08-30 22:41:52 +00:00