nes-proj/platform/win32
2007-11-28 17:12:11 +00:00
..
cfs Made cfs implementation adhere to (new) cfs interface and streamlined implementation. 2007-11-22 12:03:54 +00:00
ctk - Switched from from a CTK draw service to a statically linked CTK draw implementation. 2007-04-15 13:30:16 +00:00
loader Source reformatting only. 2007-11-18 13:24:34 +00:00
vcproj Moved logically empty files to backyard. 2007-11-18 02:39:10 +00:00
clock.c Provided a meaningful clock_time() implementation - which btw. makes the Cygwin variant finally work :-) 2007-04-14 23:23:15 +00:00
conio.h - Switched from from a CTK draw service to a statically linked CTK draw implementation. 2007-04-15 13:30:16 +00:00
contiki-conf.h Added CTK_CONF_HYPERLINK in order to keep them ;-)) 2007-11-28 16:41:35 +00:00
contiki-main.c Removed explicit shut down of network driver as it easily results in endless recursions on errors while network driver initialisation. 2007-05-23 22:01:14 +00:00
contiki.sln
Makefile Removed reference to logically empty file. 2007-11-18 01:13:56 +00:00
Makefile.win32 Changed packet drivers from services to plain processes. 2007-05-20 21:41:31 +00:00
README Added some info on the win32 platform. 2007-11-28 17:12:11 +00:00

The platform/win32/ directory contains a showcase of Contiki 1.x technologies
ported to the Contiki 2.x environment. As such it serves primarily two purposes:
- Allow for easy interactive experience of the Contiki applications with user
  interface, especially the Contiki web browser.
- Allow for easy regression tests of the code in core/ctk/ and most of the code
  in apps/.

The employed Contiki 1.x technologies include:
- The 'Contiki Tool Kit' (CTK) UI framework in general
- CTK running in a character based environment (here the Win32 Console API)
- CTK mouse support
- Dynamic loading and unloading of Contiki programs (.PRG) and Contiki program
  descriptions (.DSC) based on dynamically loadable libraries (here Win32 DLLs)

A typical Contiki 1.x implementation consists of a core binary (containing among
others the uIP and CTK libraries) and the program (and program description)
binaries which are both loaded by the core and reference the core libraries.
Therefore the Contiki 2.x project-based build system doesn't suit exactly. So
in order to be able to leverage the Contiki 2.x build system to its maximum
extend two makefiles are necessary:
- Makefile plays the role of a Contiki 2.x project Makefile
- Makefile.win32 is an ordinary (yet complex) Contiki 2.x Makefile.$(TARGET)

As an alternative to building with Cygwin, gcc and the Contiki 2.x build system
it is also possible to use Microsoft Visual Studio 2005 (including the Express
Edition) by loading platform/win32/contiki.sln.

As platform/win32/Makefile.win32 includes cpu/native/Makefile.native the WinPcap
library is used for network I/O. Please consult cpu/native/net/README-WPCAP for
further details.

Both a Cygwin Bash Shell and an ordinary Windows Command Prompt are fine for
runtime. But in order to experience the CTK mouse support it is necessary to
deactivate the 'QuickEdit Mode' of the window used. This option is found in its
Windows system menu under 'Properties'.

As the console is used for displaying the actual user interface the log output
is routed to the debug output. DebugView is a very lean program for displaying
the debug output in case no debugger is active and does so. It is available at
http://www.microsoft.com/technet/sysinternals/utilities/debugview.mspx.