public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: ariga masahiro <ariga@link-lab.co.jp>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] How to make Stand_Alone void in "net" pachage ?
Date: Mon, 27 Aug 2007 07:38:00 -0000	[thread overview]
Message-ID: <20070827073813.GX31057@lunn.ch> (raw)
In-Reply-To: <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

      reply	other threads:[~2007-08-27  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-27  7:21 ariga masahiro
2007-08-27  7:38 ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070827073813.GX31057@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ariga@link-lab.co.jp \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).