This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: SPI-support cannot be added for AT91SAM7X-EK
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Bob dot Brusa at gmail dot com
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 14 Jan 2009 16:11:23 +0000
- Subject: [ECOS] Re: SPI-support cannot be added for AT91SAM7X-EK
- References: <op.unq1vtq0keg3uf@localhost>
Hi Robert
Robert Brusa wrote:
> Since migrating from eCOS V2.0 to the most recent one (from CVS), I am
> stuck with the problem that I can no longer configure eCOS to support
> SPI. Using eCos Configuration Tool 2.net UNSTABLE (Oct 9 2008 16:37:05)
> I select the hardware "Atmel AT91SAM7XEK evaluation board" default
> packages. The resulting configuration does not include support for SPI.
> The package CYGPKG_IO_SPI is missing. However, an attempt to add this
> package ("Generic SPI-support" using configtool) is blocked with the
> error message:
>
> Add and remove hardware packages by selecting a new hardware template.
>
> Well ok, but how do I do this? Thanks and best regards
CYGPKG_IO_SPI is correctly declared as a hardware package in ecos.db.
eCos targets which use this package must therefore include it in their
target descriptions. I note that this package is missing from the
at91sam7xek target description in ecos.db. You should therefore add
CYGPKG_IO_SPI to this record by editing ecos.db directly.
<aside>
Someone needs to check that all eCos targets which use SPI include
CYGPKG_IO_SPI in their target descriptions and submit a patch. Any
volunteers?
</aside>
John Dallaway
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss