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]

RE: AT91 ADC support


Hi,

I originally made it for AT91SAM7S and AT91SAM7X but at the last minute
I saw that Atmel was using the same ADC for AT91M55800A, AT91SAM9X etc..
so I renamed it to AT91. I thought this would be more future proof.

It remains true that I have not compiled / tested it for anything else
than AT91SAM7S / AT91SAM7X.

I can specify which AT91 supports it and update the var_io.h when
definition are missing.

Regards,
Christophe


-----Original Message-----
From: Sergei Gavrikov [mailto:sergei.gavrikov@gmail.com] 
Sent: 27. mai 2010 15:52
To: John Dallaway
Cc: Christophe Coutand; Sergei Gavrikov;
ecos-patches@ecos.sourceware.org
Subject: Re: AT91 ADC support

On Thu, 27 May 2010, John Dallaway wrote:

> Hi Christophe and Sergei
>
> Christophe, is your ADC driver applicable to all AT91 parts with
on-chip
> ADC in theory?
>
> Sergei, if so, we should add the new package to all the relevant
target
> records in ecos.db: at91sam7sek, at91sam7xek, sam7ex256, eb55, phycore

Hi John,

First I tried to build the driver for AT91 'phycore' target and it was
not possible to build it because in AT91 var_io.h some ADC defines
included by a condition:

...
#elif defined (CYGHWR_HAL_ARM_AT91SAM7)
#include <pkgconf/hal_arm_at91sam7.h>
...

So, it seemed for me that's AT91SAM7 related driver. I have no
experience with AT91 CPU set. May be Christophe enlighten us?

Thanks for your point. It seems I must dive in AT91 datasheets.

Sergei

> John Dallaway
> eCos maintainer
>


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