eCos Configuration Tool

Note to eCosCentric Customers

These versions of the eCos Configuration Tool and ecosconfig are provided as a courtesy to the eCos community. The Windows versions of these tools are dependent on Cygwin and are therefore are not compatible with version 3.1 and above of the eCosPro Developer's Kit where all eCosPro Host and GNU Tools are native Windows applications.

The eCos Configuration Tool and ecosconfig provided with the eCosPro Developer's Kit also include a number of enhancements and bug fixes that are not present in the community version below. eCosCentric therefore strongly advises its customers to use the eCosPro Host Tools provided within your eCosPro Developer's Kit and to upgrade to the current version of the eCosPro Host Tools available through the eCosPro Developer's Kit Portal.

History

The eCos Configuration Tool was originally written using the Microsoft Foundation Classes (configtool version 1) and ran on Microsoft Windows only. It was ported to the wxWidgets cross-platform GUI library (formerly known as wxWindows) in 2001 where current development remains focussed on the wxWidgets port (configtool version 3) exclusively. The version 3 and 2 tools are functionally similar to the version 1 tool but currently lacks the memory layout feature. The latest sources can be built against wxWidgets 2.8.8 and later releases using GNU tools for both Microsoft Windows and Linux.

General comments and feedback on the eCos Configuration Tool are always appreciated and should be directed to the ecos-discuss mailing list. Specific bugs should be reported via Bugzilla. Bugzilla may also be interrogated for reported eCos Configuration Tool bugs in both the version shipped with the eCos 3.0 release and the version built from the latest CVS sources.

Downloading snapshots and source code

The eCos host tools which shipped with the eCos 3.0 (and earlier 2.0) public release are known to have problems when run against Cygwin 1.5.10 or later. This problem is described in Bugzilla 1000095. There is a known issue concerning C++ exception handling with Cygwin 1.5.19, Cygwin 1.5.20 and possibly later versions. Unsupported snapshot builds of the host tools which incorporate fixes and workarounds for these issues and others may be downloaded via the following anchors:

The executable files must then be decompressed using the following commands at a bash prompt:

  • bunzip2 configtool*.bz2
    bunzip2 ecosconfig*.bz2
    

The sources for the eCos Configuration Tool are available via anonymous CVS. When checking out the code, you should specify the ecos-host module in addition to the ecos module. For example:

  • mkdir ~/cvs
    cd ~/cvs
    cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos \
          co -P ecos ecos-host
    

In order to rebuild the eCos Configuration Tool, wxWidgets source code is also required. The 3.0 release version of the tool is built against wxWidgets version 2.8.8. The 2.8.8 sources may be downloaded via one of the following anchors:

Building for Linux/GTK+

The following instructions assume that you are working at a bash prompt and that the GTK+ and Tcl libraries have been installed from your Linux distribution. First, extract the wxWidgets sources:

  • mkdir ~/src
    cd ~/src
    bunzip2 -c wxGTK-2.8.8.tar.bz2 | tar xf -
    cd wxGTK-2.8.8
    

Configure wxWidgets for static linking without socket support, then build and install:

  • mkdir ~/wx-build
    cd ~/wx-build
    $HOME/src/wxGTK-2.8.8/configure --disable-shared \
        --disable-sockets --prefix=$HOME/wxGTK-2.8.8
    make
    make install
    

Configure, build and install the eCos host infrastructure:

  • mkdir ~/infra-build
    cd ~/infra-build
    $HOME/cvs/ecos/host/configure --prefix=$HOME/ecos-tools
    make
    make install
    

Build and install the eCos Configuration Tool (INSTALLDIR must match the eCos host infrastructure prefix):

  • mkdir ~/configtool-build
    cd ~/configtool-build
    make -f ~/cvs/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu \
        install WXDIR=$HOME/wxGTK-2.8.8 ECOSSRCDIR=$HOME/cvs/ecos/host \
        INSTALLDIR=$HOME/ecos-tools
    

The eCos Configuration Tool binary should now be located at: ~/ecos-tools/bin/configtool

Building for Windows

The following instructions assume that you are working at a Cygwin bash prompt and that the Cygwin development tools have been installed from the Devel category in the Cygwin installer. First, extract the wxWidgets sources:

  • mkdir ~/src
    cd ~/src
    unzip wxMSW-2.8.8.zip
    

Configure wxWidgets for static linking without socket support, then build and install:

  • mkdir ~/wx-build
    cd ~/wx-build
    $HOME/src/wxWindows-2.8.8/configure --disable-shared \
        --disable-sockets --prefix=$HOME/wxMSW-2.8.8
    make
    make install
    

Configure, build and install the eCos host infrastructure:

  • mkdir ~/infra-build
    cd ~/infra-build
    $HOME/cvs/ecos/host/configure --prefix=$HOME/ecos-tools
    make
    make install
    

Build and install the eCos Configuration Tool (INSTALLDIR must match the eCos host infrastructure prefix):

  • mkdir ~/configtool-build
    cd ~/configtool-build
    make -f ~/cvs/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu \
        install WXDIR=$HOME/wxMSW-2.8.8 ECOSSRCDIR=$HOME/cvs/ecos/host \
        INSTALLDIR=$HOME/ecos-tools
    

The eCos Configuration Tool binary should now be located at: ~/ecos-tools/bin/configtool.exe

Known Issues

A complete list of outstanding known issues for the community version of the eCos Configuration Tool and ecosconfig may be found on Bugzilla:

   
         
 
  Copyright © 2003-2014 eCosCentric Limited Privacy & Legal Statements