Quoting ourslandj <xmm0@...>:
> Well, I built a toolchain for Linux, downloaded and installed newlib
> and newlib-lpc. To get it all working I created a file sys_isatty.c
> which defines int isatty(int i) { return 1 }. Then I got uart0_int
> working properly for writing and made it asynchronous to speed things
> up a bit.
>
> But, heres the problem: I cannot use write() or read() directly on
> either com1 or com1_int. When I do a write(stdout, "HI!",
> sizeof("HI!")); it locks up on me completely.
Are you making the ioctl calls to set up the interrupts?
RobertMessage
Re: [lpc2000] LPC2106 newlib-lpc read() problems.
2006-03-08 by Robert Adsett