This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001291] New HAL for Cortex-M3 Smartfusion device
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Sat, 7 Jan 2012 14:37:00 +0000
- Subject: [Bug 1001291] New HAL for Cortex-M3 Smartfusion device
- Auto-submitted: auto-generated
- References: <bug-1001291-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=1001291
--- Comment #40 from Christophe Coutand <ecos@hotmail.co.uk> 2012-01-07 14:36:57 GMT ---
Hi Ilija,
I think the devs/flash/spi/at25dfxxx/flash_at25dfxxx.cdl could have the
following entry:
cdl_option CYGPKG_DEVS_FLASH_SPI_AT25DFXXX_TESTS {
display "SPI flash driver tests for Atmel AT95DFxxx flash"
active_if CYGPKG_KERNEL
active_if CYGPKG_IO_SPI
requires { CYGHWR_DEVS_FLASH_SPI_AT25DFXXX_DEVICE == 1 }
flavor data
no_define
calculated { "tests/at25dfxxx_test.c" }
description "
This option specifies the set of tests for the Atmel AT95DFxxx
SPI flash."
}
The platform specific code shall implement
CYGHWR_DEVS_FLASH_SPI_AT25DFXXX_DEVICE and define the base address of the SPI
flash with:
CYGHWR_DEVS_FLASH_SPI_AT25DFXXX_DEVICE0_BASE
Let me know what you think.
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.