This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: app build error
- From: Scott Dattalo <scott at dattalo dot com>
- Cc: Ecos-List <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 16 Aug 2002 06:40:53 -0700 (PDT)
- Subject: Re: [ECOS] app build error
On Fri, 16 Aug 2002, Lin Ming wrote:
> Hi all,
>
> I compiled the following code.
>
> ==================================================================
> void cyg_user_start(void)
> {
> cyg_hal_plf_comms_init();
>
> while(1)
> {
> set_leds(0xff);
> cyg_hal_plf_serial_write(&at91_ser_channels[1], (char *)menu, sizeof(menu));
> set_leds(0x00);
> }
> }
> =======================================================================
>
> But there is error message as following.
<snip>
I can't answer all of your questions, but in general if you need to find
out where a particular function is defined you can always use grep:
$ cd ecoscvs
$ grep -r cyg_hal_plf_comms_init *
This will find all files that contain the text string.
Since you're interested in the eb40, which is part of arm/at91, you can
filter the search results by:
$ grep -r cyg_hal_plf_comms_init * | grep at91
Scott
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss