From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22486 invoked by alias); 27 May 2010 13:52:30 -0000 Received: (qmail 22474 invoked by uid 22791); 27 May 2010 13:52:29 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-fx0-f49.google.com (HELO mail-fx0-f49.google.com) (209.85.161.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 May 2010 13:52:26 +0000 Received: by fxm15 with SMTP id 15so5900170fxm.36 for ; Thu, 27 May 2010 06:52:23 -0700 (PDT) Received: by 10.223.65.18 with SMTP id g18mr9204402fai.32.1274968343110; Thu, 27 May 2010 06:52:23 -0700 (PDT) Received: from sg-desktop.local ([86.57.137.251]) by mx.google.com with ESMTPS id 15sm5754093fad.10.2010.05.27.06.52.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 27 May 2010 06:52:22 -0700 (PDT) Date: Thu, 27 May 2010 13:52:00 -0000 From: Sergei Gavrikov To: John Dallaway cc: Christophe Coutand , Sergei Gavrikov , ecos-patches@ecos.sourceware.org Subject: Re: AT91 ADC support In-Reply-To: <4BFE76A4.1010702@dallaway.org.uk> Message-ID: References: <4BFE76A4.1010702@dallaway.org.uk> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2010-05/txt/msg00044.txt.bz2 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 ... 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 >