This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to make Stand_Alone void in "net" pachage ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]