Commit Graph

17 Commits

Author SHA1 Message Date
oliverschmidt
d08a218a7a Minor formatting change. 2008-11-10 22:52:43 +00:00
oliverschmidt
bf3c92e98c Leverage split of cfs-posix and cfs-posix-dir by reusing cfs-posix for win32 and replacing only cfs-posix-dir with cfs-win32-dir. 2008-07-06 08:29:37 +00:00
oliverschmidt
e914302e94 Removed check already done in Makefile.include. 2008-05-22 19:45:47 +00:00
oliverschmidt
9071007e1e For the Win32 platform build we need to define AUTOSTART_ENABLE even for the Contiki library files to be able to autostart the program handler.
Note: For this to work the program handler needs to be the first autostart enabled application in the Contiki library. As the GNU archiver guarantees to preserve the order of the object files in a library this can be accomplished by having the program handler the first item in APPS.
2008-03-04 22:55:54 +00:00
oliverschmidt
614fa668cd Removed SELFSTART_PROCESS as AUTOSTART_ENABLE generally serves that purpose - and AUTOSTART_ENABLE gets already set as required :-) 2008-02-08 22:48:28 +00:00
oliverschmidt
806f79bb03 Replaced (now obsolete) PROCESS_LOADABLE with SELFSTART_PROCESS. 2008-02-07 16:34:18 +00:00
oliverschmidt
b89a08be8b Allow Cygwin based Win32 platform to be used for 'project builds' (in the sense of the Contiki 2.x build system) beside the exsisting 'platform build'. 2007-12-15 00:00:34 +00:00
oliverschmidt
a22d2ecfef Changed packet drivers from services to plain processes.
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.

Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-20 21:41:31 +00:00
oliverschmidt
d4528e427f Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:16:08 +00:00
oliverschmidt
237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
oliverschmidt
42d0fe9c18 Very minor beautification. 2007-04-21 22:17:22 +00:00
oliverschmidt
3b7c27b9e9 Use generally lowercase names for functin variables. 2007-04-21 15:11:21 +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
f16d041476 Provided a meaningful clock_time() implementation - which btw. makes the Cygwin variant finally work :-) 2007-04-14 23:23:15 +00:00
oliverschmidt
743ec10b21 Added copyright notice. 2007-04-11 01:07:47 +00:00
oliverschmidt
0b140bdec4 Integrated WinPcap driver into platform/win32 Cygwin build. 2007-04-11 00:32:31 +00:00
oliverschmidt
5653794966 Allow to build platform/win32 using Cygwin and the Contiki build system. The WinPcap driver is missing as it is about to be changed from dynamic to static loading anyway. 2007-04-06 23:09:32 +00:00