Re: Write and read functions for RTEMS

2019-09-27 Thread Michel Macena
Sorry for asking again, but I think I can now elaborate better my issues. I've been trying to make the ERC32 read the serial port. First I tried to use C basic functions such as getchar and gets, and they worked (like a read function in blocking mode). However I want to use read and write function

Re: Write and read functions for RTEMS

2019-09-26 Thread Michel Macena
I'm using an ERC32 chip (sparc) . Do you mean the console driver ? Em ter, 24 de set de 2019 às 20:47, Chris Johns escreveu: > On 21/9/19 8:39 am, Michel Macena wrote: > > I noticed in the IO primitive manager section in the RTEMS POSIX guide > that > > there are a read and a write function,

Re: Write and read functions for RTEMS

2019-09-24 Thread Chris Johns
On 21/9/19 8:39 am, Michel Macena wrote: >  I noticed in the IO primitive manager section in the RTEMS POSIX guide that > there are a read and a write function, however the IO guide are not finished > yet, so I don't know if those functions are in good shape to use. Are they ok > ? > Also is there

Write and read functions for RTEMS

2019-09-20 Thread Michel Macena
I noticed in the IO primitive manager section in the RTEMS POSIX guide that there are a read and a write function, however the IO guide are not finished yet, so I don't know if those functions are in good shape to use. Are they ok ? Also is there a tcdrain (from termios.h) equivalent function for