[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pc386 bsp - stdin broken?
- Date: Tue, 27 Aug 2002 18:32:35 -0400
- From: cornell at gdls.com (Glen M Cornell)
- Subject: pc386 bsp - stdin broken?
To recapitulate the answers that I received, I'm posting to this thread.
The problem that I was facing is that the hello_world example that I was
using does not enable the clock driver, upon which stdin depends. To
solve an apparent box lock-up, simply enable the clock device as in the
Thanks for all the responses.
Glen M Cornell wrote:
> I sent a message from home last night, but did not see my posting.
> Sorry if you get it twice.
> Is there some trick to getting stdin to work on the pc386 bsp? I
> changed the hello_world test application to read from stdin:
> char buf;
> printf("what's your name?");
> scanf("%s", buf);
> printf("hello, %s\n",buf);
> But this appears to lock up the board. I also tried gets() with the
> same results. What's wrong with me???
> Oh, yes. I'm using the latest snapshot and the latest c build tools.
> thanks for any help,