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