Commit graph

116 commits

Author SHA1 Message Date
oliverschmidt
0ef1171705 Just always call process_run() and etimer_request_poll() in turn - like the "major" platforms do. 2010-10-27 22:17:39 +00:00
oliverschmidt
842c6a018a The recent global change regarding htons allowed to remove this hack :-) 2010-10-19 20:30:47 +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
oliverschmidt
b943e73b9b Made default IP config identical to minimal-net and log the IP config similar to minimal-net. 2010-10-15 21:14:18 +00:00
oliverschmidt
a5df3e8d00 Removed unnecessary include. 2010-10-12 19:57:44 +00:00
oliverschmidt
284f7166b7 Allow standalone win32 programs to exit the Contiki process by calling LOAD_UNLOAD(). 2010-10-12 11:03:53 +00:00
oliverschmidt
5dd5b5ac43 Adjusted typdefs to Cygwin 1.7 (now not compatible anymore with Cygwin 1.5). 2010-04-21 20:35:22 +00:00
oliverschmidt
35dc059ad0 Added support for non-window CTK email client example. 2010-01-31 21:49:13 +00:00
oliverschmidt
f5c78bd4fd Added a gnumake 'target-specfic variable' to add the C preprocessor define necessary for clean DLL linkage. 2010-01-30 11:52:01 +00:00
oliverschmidt
671bfb0f2b Removed directory.dsc and www.dsc from Visual Studio 2008 build.
There aren't created using the Cygwin build  too - which btw. makes sense as those two programs are configured to have own icons on the desktop.
2010-01-28 12:59:47 +00:00
oliverschmidt
4f9c4d7dda Adjusted the win32 'platform build' (which creates an old-school Contiki OS) to the changed dependency handling.
The special module-compile rule didn't work anymore now that the make doesn't create the .d beforehand. However the ordinary compile rule in Makefile.include turns out to create object files linkable as DLLs - although with warnings. The downside of these warnings seems to be outweight by the benefit of a simpler Makefile.
2010-01-28 12:46:16 +00:00
oliverschmidt
a844636218 Minor docu update. 2008-11-13 20:26:27 +00:00
oliverschmidt
d08a218a7a Minor formatting change. 2008-11-10 22:52:43 +00:00
oliverschmidt
24f04a57b2 Include wget shell command in "standard" shell environments. 2008-11-10 22:23:50 +00:00
oliverschmidt
c109e102c4 Include wget shell command in "standard" shell environments. 2008-11-10 22:10:32 +00:00
oliverschmidt
072830d4f2 Migrated project files from VC++ 2005 (Express Edition) to VC++ 2008 (Express Edition). Almost all changes were required because VC++ 2008 does a parallel build. Therefore all intermediate files need to have unique names. This wasn't the case by default because VC++ doesn't presume seperate projects to build into the same directory - as it is the case with all the *.prg and *.dsc files of Contiki. 2008-10-29 15:03:34 +00:00
oliverschmidt
ebcafc68c8 Migrated solution file from VC++ 2005 (Express Edition) to VC++ 2008 (Express Edition). 2008-10-29 14:59:35 +00:00
adamdunkels
a8f2e8ca48 Added clock_seconds implementation to win32 port 2008-07-10 17:08:54 +00:00
oliverschmidt
9ac4123f00 Adjusted VC++ project file to recent change regarding cfs implementation (and added preprocessor define _CRT_NONSTDC_NO_DEPRECATE). 2008-07-06 11:06:14 +00:00
oliverschmidt
9d5ae4864e Added preprocessor define _CRT_NONSTDC_NO_DEPRECATE to allow usage of open(), close(), read(), write() and lseek(). 2008-07-06 11:04:33 +00:00
oliverschmidt
c60e91bf59 Moved Win32 cfs directory functions from cfs-win32.c to cfs-win32-dir.c. 2008-07-06 10:24:38 +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
cd1608aa08 Activate uIP forwarding support. 2008-05-22 19:49:48 +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
2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
oliverschmidt
0e96534ca8 Now that process initialization has been changed (back) to synchronous it needs to be called after adding program handler menu items in order to preserve the the existing program handler logic. 2008-02-10 19:14:48 +00:00
oliverschmidt
8823dfe250 Adjusted to the new shell. 2008-02-10 12:13:06 +00:00
oliverschmidt
2b1abd87af Replaced (now obsolete) PROCESS_LOADABLE with AUTOSTART_ENABLE (and use it now in the platform build to start the program handler). 2008-02-10 11:29:24 +00:00
oliverschmidt
034bc4ec66 Adjusted to the new shell. 2008-02-09 18:56:26 +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
0655839603 Removed superfluous semicolon. 2008-02-08 12:14:52 +00:00
oliverschmidt
fe6a55d1a4 Accomodate for the now more complex shell output. 2008-02-07 23:06:03 +00:00
oliverschmidt
806f79bb03 Replaced (now obsolete) PROCESS_LOADABLE with SELFSTART_PROCESS. 2008-02-07 16:34:18 +00:00
oliverschmidt
155a27ff59 Switched from (now obsolete) 'process_load' to 'autostart_processes'. 2008-02-07 15:53:43 +00:00
oliverschmidt
a105e1a40c Added 'const'. 2008-02-06 16:41:19 +00:00
oliverschmidt
b96c9deebc Added "usual" comments. 2008-01-04 21:53:32 +00:00
oliverschmidt
7b3d0559b3 Minimal reformatting. 2007-12-15 23:02:16 +00:00
oliverschmidt
21e343dc2f Don't depend on program handler for project builds. 2007-12-15 21:54:54 +00:00
oliverschmidt
0e8649e5ae Don't override www defaults for project builds. 2007-12-15 21:39:06 +00:00
oliverschmidt
97b1c95005 Activate mouse support for fullscreen mode. 2007-12-15 21:30:56 +00:00
oliverschmidt
9765b76455 Fixed typos. 2007-12-15 20:12:28 +00:00
oliverschmidt
6fd3b0dbae Removed CTK_CONF_HYPERLINK from shared code as its use is still unclear (and the implementation was incomplete anyway). 2007-12-15 11:34:59 +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
32ae3317a6 Several minor changes and reformatting. 2007-12-06 22:09:56 +00:00
oliverschmidt
171c84a9d9 Added some info on the win32 platform. 2007-11-28 17:12:11 +00:00
oliverschmidt
2e1b1acfaa Now that there's a Cygwin based build there's no more need to drive people to use Visual Studio - if they aren't already experienced and want to use it. 2007-11-28 16:51:17 +00:00
oliverschmidt
75c49f8d7b Added CTK_CONF_HYPERLINK in order to keep them ;-)) 2007-11-28 16:41:35 +00:00
oliverschmidt
e5f7fc8594 Made cfs implementation adhere to (new) cfs interface and streamlined implementation. 2007-11-22 12:03:54 +00:00
oliverschmidt
1c0aa8a0e4 Source reformatting only. 2007-11-18 13:24:34 +00:00