[Bug 1001291] New HAL for Cortex-M3 Smartfusion device

bugzilla-daemon@bugs.ecos.sourceware.org bugzilla-daemon@bugs.ecos.sourceware.org
Sat Jan 7 14:37:00 GMT 2012


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.



More information about the Ecos-patches mailing list