Commit graph

3433 commits

Author SHA1 Message Date
oliverschmidt 8ddbf4642b Made the webserver cfs support build and run. 2007-04-23 23:08:44 +00:00
oliverschmidt 9dd1bde01b Removed unreferenced source from application makefile. 2007-04-23 21:22:54 +00:00
oliverschmidt 2662a31d30 Made the webserver logging follow the popular pattern of foo_???() being declared in foo.h and defined in foo.c. 2007-04-23 21:19:55 +00:00
fros4943 ca2add3641 newer version of experimental mspsim mote type.
supports high speed radio transmissions (os2os, os2emul, emul2os, emul2emul)
2007-04-23 12:00:43 +00:00
fros4943 c2147dbb86 changed duration 2007-04-23 11:58:20 +00:00
fros4943 438fa2a92d changed byte radio to supply delay meta data instead of timestamp 2007-04-23 11:33:07 +00:00
fros4943 da3d423233 support for sending several packets fast 2007-04-23 08:46:35 +00:00
fros4943 923ad07abf updated duration for 19200bps transmissions
added some fault handling
2007-04-23 08:28:30 +00:00
fros4943 1c818c039f added warning for null packets 2007-04-23 08:25:50 +00:00
oliverschmidt 69952696fa Adjusted source formatting Mk II ;-) 2007-04-22 09:53:50 +00:00
oliverschmidt f70efdf7ad Adjusted source formatting. 2007-04-22 09:52:33 +00:00
oliverschmidt 42d0fe9c18 Very minor beautification. 2007-04-21 22:17:22 +00:00
oliverschmidt 8d3496194f Added Multithreading support to the cc65 targets based on the Contiki 1.x C64 implementation with the following changes:
- Added support for the function parameter.
- Removed support for preemption because:
  - No other current implementation does so.
  - Preemption support would make the code at least target-dependent or it wouldn't work at all (as on plain Apple2 machines without timer interrupt).
2007-04-21 22:15:45 +00:00
oliverschmidt f023e03976 Improved (hopefully) name of function variable. 2007-04-21 15:13:14 +00:00
oliverschmidt 3b7c27b9e9 Use generally lowercase names for functin variables. 2007-04-21 15:11:21 +00:00
oliverschmidt ec2411d5ea Structured the cc65 makefile like all the other makefiles in the Contiki 2.x build system. 2007-04-21 15:04:23 +00:00
oliverschmidt fe0e1fca17 Added minimal support for handling assembler sources. 2007-04-21 14:56:52 +00:00
oliverschmidt 5d62bbd039 Used SED to replace the assembler sources with the objects in the dependency file generated by the cc65 compiler. This allows to hide the assembler sources from GNU make which solves several issues. Now the cc65 toolchain behaves very similiar to gcc from the GNU make perspective. 2007-04-21 13:23:47 +00:00
oliverschmidt 48977bd89f Replaced the PROJECT_OBJECTFILES hack with puting the Contiki library (containing contiki-main.o) and the cc65 libary into a cc65 "library group" which allows mutual crossreferences between the libraries in the group. 2007-04-18 22:52:22 +00:00
oliverschmidt ffe5f48d55 Replace (very uncommon) 'tab' in prerequisites with 'space'. 2007-04-18 22:38:44 +00:00
oliverschmidt f3502e2ca4 Added NOP headers in order to allow build. 2007-04-18 21:38:55 +00:00
oliverschmidt dba1672323 Make use of __inline (just as making use of __fastcall) in order to check that CC_CONF_INLINE (just as CC_CONF_FASTCALL) are used in a syntactically correct manner. 2007-04-18 21:36:44 +00:00
oliverschmidt 0acdd92457 Improved compatibility with different platforms - and inline documentation. 2007-04-18 21:28:28 +00:00
oliverschmidt 195cf8cafb Made it build, but certainly _NOT_ work on non-gcc platforms. 2007-04-18 21:26:09 +00:00
oliverschmidt 33eeb8ccbb - Switched from from a CTK draw service to a statically linked CTK draw implementation.
- Workarounded the following CTK glitch:

ctk.c calls ctk_arch_keyavail() and ctk_arch_getkey() and needs therefore appropriate declarations (or macros) but it doesn't include a ctk_arch.h or alike to bring those in. So it's necessary to bring those declarations in via contiki-conf.h.

But ctk_arch_getkey() is supposed to return a ctk_arch_key_t - and this typedef'ed in ctk.h which means that ctk.h would need to be included in contiki-conf.h before declaring ctk_arch_getkey().

This IS rather undesirable so the current workaround is to declare ctk_arch_getkey() as returning a char - this is btw done similiar in platform/gtk as well. See ctk/ctk-gtksim.h:

guint ctk_arch_getkey(void);
2007-04-15 13:30:16 +00:00
oliverschmidt 13cdcbe393 - Removed ctk_arch_isprint() definition as it is - nomen est omen - platform specific.
- Avoided compiler warnings.
- Rearranged headers.
2007-04-15 13:14:40 +00:00
oliverschmidt eec5ae40c9 Avoid compiler warnings. 2007-04-15 13:09:23 +00:00
oliverschmidt f16d041476 Provided a meaningful clock_time() implementation - which btw. makes the Cygwin variant finally work :-) 2007-04-14 23:23:15 +00:00
oliverschmidt 8b7de528fb Consistently use curly brackets for function calls. 2007-04-14 18:37:06 +00:00
oliverschmidt c7e8ac499e Consistently use curly brackets for function calls (and add the same disclaimer as used in "my" other makefiles). 2007-04-14 15:55:50 +00:00
oliverschmidt 9cf544c45e Added the same disclaimer as used in the header file. 2007-04-14 15:48:42 +00:00
oliverschmidt 3a8fb3ad9f Initializing the console Just-In-Time on CTK startup and starting up the WinPcap before CTK allows WinPcap to print initialization errors (especially a missing command line arg) without clearing the shell output. 2007-04-14 14:57:19 +00:00
oliverschmidt c1b0a3f0d3 Cygin (in opposite to VC++) doesn't call exit() - and thus our atexit function - on Ctrl-C. Therefore we install an explict ConsoleCtrlHandler which calls exit(). For the sake of simplicity it's not #ifdef'ed _CYGWIN_. 2007-04-14 14:28:19 +00:00
oliverschmidt df278abd09 Added center alignment to network statistic columns. Now it looks nicer and is consistent with the system processes columns. 2007-04-14 13:48:33 +00:00
oliverschmidt 46824932fc Direct httpd logs to the Contiki log for non-CTK scenarios. 2007-04-14 13:40:53 +00:00
oliverschmidt 525108f957 Changed #ifdef to #if for checking CONF flag to be more consistent with predominant coding style. 2007-04-14 08:11:24 +00:00
oliverschmidt 8f0753c402 Link in and start the POSIX file system to make the telnet-server example 'ls' command generally work. Typically it will complain about not finding 'cfs-root/.' 2007-04-13 23:08:52 +00:00
oliverschmidt 6e5193f303 Added integration of shell event handler into shell server. This is obligatory for the 'ls' command to succeed. 2007-04-13 22:47:43 +00:00
oliverschmidt 94bd0de72d Fixed incomplete integration of shell server log gui. 2007-04-13 22:15:52 +00:00
oliverschmidt 079a4a1b54 Avoid compiler warnings. 2007-04-13 22:02:28 +00:00
oliverschmidt 766878f5c9 Added the shell server to the Win32 platform. 2007-04-13 21:55:55 +00:00
oliverschmidt 59c2158274 Removed minor redundancy. 2007-04-13 21:47:09 +00:00
oliverschmidt b0918c1516 Added memb.c. 2007-04-13 21:09:23 +00:00
oliverschmidt 7aae71934d Providing a dummy program_handler_load() made made the telnet server work without program-handler but on the other hand incompatible with an exsistng program handler :-(
Therefore I replaced that hack with a clean CONF macro, which by the way really removes the run() and exec() functionality instead of just implementing it empty.
2007-04-13 21:04:52 +00:00
bg- 87971c35db * Bump maximum number of udp sockets to 16 and fwcache size.
* Remove unused stuff.
2007-04-11 15:24:39 +00:00
bg- b32db9763e * Bump maximum number of udp sockets to 16.
* Remove unused stuff.
2007-04-11 15:22:05 +00:00
fros4943 eeed4115c4 colors helping a user manually enter project paths 2007-04-11 14:00:27 +00:00
fros4943 f2f5ea682b added empty rtimer files to remove compilation errors
OBS: not implemented yet; rtimer does not work with COOJA
2007-04-11 12:46:13 +00:00
bg- 738a970660 * Also print channel number. 2007-04-11 10:13:59 +00:00
oliverschmidt 36f6efd21c Build the web server with CTK support. 2007-04-11 01:08:46 +00:00