Setting up a Windows development environment

NB: this guide is part of the information about the balancing robot information. Please refer to that for the other components.

Rather than repeating the installation instructions from the Lejos-OSEK homepage, I'll just add a few comments here about how we installed everything.

We installed the following software, following the instructions in the link above:

  • Cygwin, as described in the instructions. I usually also install wget (for quickly fetching files from the net) and rxvt (as a better shell replacement than the default cygwin shell).
  • GNU ARM compiler. Make sure you follow the instructions about not installing Cygwin DLLs or floating point unit/libraries.
  • The standard software that Lego provides. It gives us a nice and easy way of installing the standard Lego firmware, and also takes care of installing the NXT drivers for Windows.
  • John Hansen NeXTTool for uploading firmware to the device.
  • LibUSB.
  • The nxtOSEK/Lejos-OSEK source code.

    The source code for the balancing robot is in samples/nxtway_gs.


    John Markus Bjørndalen
    Last modified: Thu Apr 16 23:24:20 CEST 2009