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]

AT91SAM7X support + AT91 GPIO + SPI


Hi Folks

Here is a collection of patches for AT91 targets.

John Eigelaar has ported eCos to the AT91SAM7X{128|256}.

As part of this port i modified the existing AT91SAM7S port. The
existing AT91SAM7S HAL has been generalised to AT91SAM7. Two new
packages have been added which then add board support packages for the
AT91SAM9X-EK and AT91SAM9S-EK and development boards.

The AT91SAM7X has two GPIO controller. This meant the exising device
drivers could not be used as is. So i added macro's to the var HAL for
manipulating GPIO lines in a generic way independent of how many
controllers the device has. 

The USB driver and the SPI driver have been updated to use these GPIO
macros.

John then took the SPI driver and extended it to support two SPI bus
controllers, which the AT91SAM7X has. This required a tiny
modification to the EB55 SPI driver cdl.

I added flash support for the AT91SAM7X.

Lastly i added control register definitions to the AT91 var_io.h for
the TWI, EMAC, CAN and ADC.

    Andrew

Attachment: at91_flash.diff
Description: Text document

Attachment: at91_spi.diff
Description: Text document

Attachment: at91_usb.diff
Description: Text document

Attachment: at91sam7sxek.diff
Description: Text document


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