This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to make Stand_Alone void in "net" pachage ?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: ariga masahiro <ariga at link-lab dot co dot jp>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 27 Aug 2007 09:38:13 +0200
- Subject: Re: [ECOS] How to make Stand_Alone void in "net" pachage ?
- References: <000501c7e87a$d433fee0$1c0110ac@ariga>
On Mon, Aug 27, 2007 at 04:21:04PM +0900, ariga masahiro wrote:
> Hi everyone,
>
> I am sorry,I feel dumb about this,
> I am permanently in predicament.
> Would you please teach me patiently ?
>
> I made ecos.lib by using "net" package.
>
> I liked to use interrupt,so I made CYGPKG_IO_ETH_DRIVERS_STAND_ALONE void
> by inserting "default_value 0".
The net template will use interrupt driven Ethernet drivers. Only the
redboot template uses polled io. So you don't need to change anything
like CYGPKG_IO_ETH_DRIVERS_STAND_ALONE.
> $ make
> sh-elf-gcc -c -o nc_test_slave.o -g -Wall
> -I/ecos-c/cygwin/home/LINK/inserter200
> 70827-for-nc_test_slave-net/untitled1_install/include -ffunction-sections
> -fdata
> -sections nc_test_slave.c
It is better to enable CYGPKG_NET_BUILD_HW_TESTS and then just do
make tests
That will build all the tests, including nc_test_slave.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss