From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 919 invoked by alias); 9 Jul 2002 13:41:57 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 905 invoked from network); 9 Jul 2002 13:41:57 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 9 Jul 2002 13:41:57 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 53DC51BB; Tue, 9 Jul 2002 07:41:52 -0600 (MDT) From: Gary Thomas To: brenner joel Cc: eCos Discussion In-Reply-To: <3D2AE6CF.40202@tchip.com> References: <3D2AE6CF.40202@tchip.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 09 Jul 2002 06:41:00 -0000 Message-Id: <1026222112.27291.3178.camel@hermes.chez-thomas.org> Mime-Version: 1.0 Subject: Re: [ECOS] Problem using SERIAL_GENERIC_16X5X serial driver X-SW-Source: 2002-07/txt/msg00095.txt.bz2 On Tue, 2002-07-09 at 07:36, brenner joel wrote: > Hi all! > > I'm trying to use the SERIAL_GENERIC_16X5X serial driver for my custom > target. (I've used arm/pid serial driver as example) > When I compile the kernel I've the following error message: > > /home/brenner/ecos/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c > /home/brenner/ecos/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c:213:44: > cyg/io/arm_rms_extern_ser.inl: No such file or directory > > and this is right because no inline file is placed cyg/io/. > In the cdl file of rm_rms_extern_ser following paths are defined > ... > define_proc { > puts $::cdl_system_header "/***** serial driver proc output > start *****/" > puts $::cdl_system_header "#define > CYGDAT_IO_SERIAL_GENERIC_16X5X_INL " > puts $::cdl_system_header "#define > CYGDAT_IO_SERIAL_GENERIC_16X5X_CFG " > puts $::cdl_system_header "/***** serial driver proc output > end *****/" > } > > ... > witch are used to configure the SERIAL_GENERIC_16X5X driver > > > My question is: where I've to define a command witch copies > devs/serial/arm/rms/current/include/arm_rms_extern_ser.inl to > and what is this command? > Just use the "include_dir" CDL command in the same file that has the "define proc". e.g. include_dir cyg/io This will cause the include files (from the package .../include directory) to be placed in the directory. -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss