From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2756 invoked by alias); 11 Jun 2008 16:26:56 -0000 Received: (qmail 2746 invoked by uid 22791); 11 Jun 2008 16:26:56 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from s200aog10.obsmtp.com (HELO s200aog10.obsmtp.com) (207.126.144.124) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jun 2008 16:26:34 +0000 Received: from source ([167.4.1.35]) (using TLSv1) by eu1sys200aob010.postini.com ([207.126.147.11]) with SMTP; Wed, 11 Jun 2008 16:26:28 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.80.115]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 9D7DCDAF5; Wed, 11 Jun 2008 16:26:26 +0000 (GMT) Received: from mail1.phx.st.com (mail1.phx.st.com [167.4.198.60]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id D2B1648C45; Wed, 11 Jun 2008 16:26:25 +0000 (GMT) Received: from [167.4.196.118] (cea05.phx.st.com [167.4.196.118]) by mail1.phx.st.com (MOS 3.7.5a-GA) with ESMTP id CPH29441 (AUTH "paul thacker"); Wed, 11 Jun 2008 09:26:23 -0700 (MST) Message-ID: <484FFD64.10307@st.com> Date: Wed, 11 Jun 2008 16:26:00 -0000 From: Paul J THACKER User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: Andrew Lunn Cc: ecos-devel@ecos.sourceware.org Subject: Re: How do I add a serial driver? References: <484EE45D.6040407@st.com> <20080610214551.GJ8456@lunn.ch> <484EFC97.1050207@st.com> <20080611065454.GK8456@lunn.ch> In-Reply-To: <20080611065454.GK8456@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00007.txt.bz2 Andrew Lunn wrote: >> I added the code to packages/devs/serial/arm/cartesio/ - basically >> copied the AT91 code and modified it for my board. >> >> When I rebuild, the serial driver doesn't get compiled. The >> build/io/serial/ does get compiled. I'm sure I'm missing something >> basic, but I can't figure out what it is. > > Take a look at CYGPKG_IO_SERIAL_DEVICES. > > Andrew I enabled Hardware Serial Device Drivers (CYGPKG_IO_SERIAL_DEVICES) in configtool - no difference.