This is the mail archive of the
mailing list for the eCos project.
Re: AT91EB55 and DataFlash
John Dallaway <firstname.lastname@example.org> writes:
> Andrew Lunn wrote:
> > It looks like the requires statement is wrong, CYGPKG_ERROR is not
> > needed by dataflash. This fixes this problem, but it then explodes
> > later.
> > I think somebody from eCosCentric needs to look at this and compare
> > with there working code in their private branch.
> Andrew, many thanks for looking at this. It appears that the data type
> expected in the second parameter of the CYG_DATAFLASH_FLASH_DRIVER()
> macro has changed.
> Nick, it looks like you were the one who added the DataFlash
> declarations for AT91EB55 originally. Do you have any time to
> investigate this build failure at present?
> > /var/local/ecos-test/packages/devs/flash/arm/eb55/current/src/eb55_flash.c:76: error: initializer element is not constant
> > /var/local/ecos-test/packages/devs/flash/arm/eb55/current/src/eb55_flash.c:76: error: (near initialization for âcyg_dataflash_priv_cyg_eb55_dataflash.dev.spi_devâ)
> Please let me know either way, so I can plan accordingly.
Our emails crossed in the post. Expect to see some checkins
Nick Garnett eCos Kernel Architect
eCosCentric Limited http://www.eCosCentric.com The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No: 4422071
Besuchen Sie uns vom 3.-5.03.09 auf der Embedded World 2009, Stand 11-300
Visit us at Embedded World 2009, NÃrnberg, Germany, 3-5 Mar, Stand 11-300