This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: AT91 ADC support
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: John Dallaway <john at dallaway dot org dot uk>
- Cc: Christophe Coutand <ccoutand at stmi dot com>, Sergei Gavrikov <sergei dot gavrikov at gmail dot com>, ecos-patches at ecos dot sourceware dot org
- Date: Thu, 27 May 2010 16:52:07 +0300 (EEST)
- Subject: Re: AT91 ADC support
- References: <D6050C555CC56940A7AF32652283027611DAD3@mail2.STMIRV01.COM> <4BFE76A4.1010702@dallaway.org.uk>
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