Thu Feb 17 12:09:09 EST 2011

Configtool: adding new packages

The configtool itself is quite straightforward.

To add a new package to the repository, use the following approach:

  - Create a directory structure in the package/ tree.  Look at other
    packages to see how this is done.  This needs at least a cdl file,
    and possibly an include file (inl).

  - Update the packages/ecos.db file, adding a `package' element that
    points to the cdl.

Problem: it tells me that I need to pick a new hardware template to
add/remove hardware packages.  What's that about?

Trying manually with ecosconfig:

ecosconfig add CYGPKG_IO_FLASH

[1] http://ecos.sourceware.org/docs-latest/user-guide/config-tool-updating-configuration.html