This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001449] AT25DFxxx SPI flash test application
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Sun, 8 Jan 2012 08:46:39 +0000
- Subject: [Bug 1001449] AT25DFxxx SPI flash test application
- Auto-submitted: auto-generated
- References: <bug-1001449-104@http.bugs.ecos.sourceware.org/>
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.