Commit Graph

1144 Commits

Author SHA1 Message Date
bg-
6d25bc6215 * For portability reasons change cle_addr from pointer type. 2007-04-25 15:43:43 +00:00
bg-
da798a535b * For portability reasons change cle_addr from pointer type.
* Use loader/sym.h.

* cle_upd_reloc() makes updates in memory copy.
2007-04-25 15:41:02 +00:00
bg-
ffb90bfe40 * For portability reasons change cle_addr from pointer type. 2007-04-25 15:36:53 +00:00
bg-
f7908e332f * Like symtab but rely on ANSI C features. 2007-04-25 15:33:29 +00:00
bg-
7e540078f1 * Like mknmlist but rely on ANSI C features. 2007-04-25 15:30:19 +00:00
bg-
1bd92dae47 * Ensure that rand() srand() signatures are compliant with what can be
found in stdlib.h.
2007-04-24 19:01:39 +00:00
bg-
cd0d83a705 * Toggle led before returning.
* Change printf.
2007-04-24 18:38:11 +00:00
bg-
a9d536e50c * AODV requires that 255.255.255.255 is not rebroadcasted! Deal with
this using conditional compilation (AODV_COMPLIANCE).
2007-04-24 16:58:58 +00:00
bg-
8b1cd7a470 * Explain that SCMP32 comes from RFC 3561 and is easy to implement
using 2's complement arithmetic. Unfortunately C only defines
  unsigned arithmetic and consequently machines that don't use 2's
  complement (i.e unknown arithmetic) will have to be dealt with on a
  per machine basis.
2007-04-24 16:37:45 +00:00
bg-
42fe071745 * Some more debug printfs.
* Correct hop_count when an existing route is found.
2007-04-24 16:08:10 +00:00
oliverschmidt
a07a39d3c2 Allow to easily build the webserver example with cfs support by running make with the parameter HTTPD-CFS=1. 2007-04-23 23:30:14 +00:00
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