Updated/improved documentation.

This commit is contained in:
oliverschmidt 2006-10-14 23:48:51 +00:00
parent d0ec0a48a4
commit 8b319eef83

View file

@ -10,39 +10,51 @@ Microsoft Windows.
\author Oliver Schmidt <ol.sc@web.de> \author Oliver Schmidt <ol.sc@web.de>
\section win32-getting-started Getting started \section win32-getting-started Getting started
\note Network I/O does not work yet. The Microsoft Windows port of Contiki doesn't use the the Contiki build system.
Instead it is built with the Microsoft Visual C++. If you already have Microsoft
Visual Studio 2005 Standard Edition (or better) installed you're ready to go.
The Microsoft Windows port of Contiki is built using the Microsoft Otherwise you can download and install the free Visual C++ 2005 Express Edition.
Visual C++ compiler which is available for free from Microsoft's web I'd recommend to download the full package and then do a local install. That so
page (registration required though). Follow the instructions on the called Manual Installation is described on this page:
link below carefully: http://msdn.microsoft.com/vstudio/express/support/install/
Then follow the instructions on this page carefully (Note - You only need to
install the Microsoft Windows Core SDK from the Microsoft Platform SDK):
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx
If you intend to around play with network I/O, get Ethereal: Finally you might want to integrate the Platform SDK help content into the IDE
- It's a great free network analyzer. help system (although this isn't necessary for Contiki development) by choosing
- It uses (and therefore installs) WinPcap that is used by Contiki network I/O this topic in the IDE help system and following the instructions given:
too. ms-help://MS.VSExpressCC.v80/dv_vsexpcc/local/CollectionManagerExpress.htm
http://www.ethereal.com/download.html
Doubleclicking contiki-2.x\\platform\\win32\\contiki.sln should bring up the For network I/O you need the WinPcap library which is available on this page:
IDE and load the Contiki 'solution'. This takes some time if done for the http://www.winpcap.org/install/default.htm
first time as the source is scanned and quite some meta data gets
generated.
Select 'Build' and then 'Run' from the menu. (Or 'Build solution' from I'd recommend to install the Wireshark network protocol analyzer which uses (and
the 'Build' menu and press F5 to run/debug the program.) This should therefore comes with) the WinPcap libary from this page instead of installing
bring up Contiki inside a new command prompt window. just the WinPcap library from the page above:
http://www.wireshark.org/download.html
Depending on your settings for command prompt windows the mouse Doubleclicking contiki-2.x\\platform\\win32\\contiki.sln should bring up the IDE
should work right away with Contiki. and load the Contiki Solution. This takes some time if done for the first time
as the source is scanned and quite some metadata gets generated.
Resizing the command prompt window running Contiki is handled by Now press F7 for Build Solution and then F5 for Start Debugging. This should
Contiki. bring up Contiki inside a new command prompt window. Starting Contiki in the
debugger has the benefit of having the debug output routed to the IDE output
pane.
Beside the Contiki Quit menu entry you can safely use Ctrl-C for a clean Depending on your settings for command prompt windows the mouse should work
exit. You'll notice that when running Contiki from an open command right away with Contiki.
prompt window (that therefore doesn't close on Contiki exit): The caption,
colors, cursor, ... are restored. Contiki resizes its desktop on resizing the command prompt window Contiki is
running in.
Beside the Contiki Quit menu entry you can safely use Ctrl-C for a clean exit.
You'll notice that when running Contiki from an already open command prompt
window (that therefore doesn't close on Contiki exit): The caption, colors,
cursor, ... are restored.
@{ @{