This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001449] AT25DFxxx SPI flash test application


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001449

--- Comment #3 from Christophe Coutand <ecos@hotmail.co.uk> 2012-01-08 08:46:38 GMT ---
Hi Ilija,

I replaced the CDL with CYGNUM_DEVS_FLASH_SPI_AT25XXX_MAP_ADDR but maybe the
name shall still specify device 0. The platform could have several SPI flash.

In the attached solution CYGNUM_DEVS_FLASH_SPI_AT25XXX_MAP_ADDR is defined at
the platform level. The SPI flash test application accesses the definition by
including the platform header file: 

#include CYGDAT_DEVS_FLASH_SPI_AT25DFXXX_PLF_CDL

I agree, more could be defined in the platform CDL such as the speed. Bus and
chip select are usually fix.

Christophe

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]