Re: Serial port issues

2019-08-08 Thread Sebastian Huber
On 08/08/2019 19:20, Michel Macena wrote: Thanks for the answer but I posted before an issue with this macro, the subject mail was: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue The board just does not work when I use this macro, even for a simple Init task with a printf function.

Re: Serial port issues

2019-08-07 Thread Sebastian Huber
On 07/08/2019 23:13, Michel Macena wrote: just to update, I've tried different ways to get something from the serial port. when  i use open (from unistd.h) to open the serial port it returns "-1".I also tried the getchark() function from https://github.com/RTEMS/rtems/tree/master/cpukit/libcsup

Re: Serial port issues

2019-08-07 Thread Michel Macena
just to update, I've tried different ways to get something from the serial port. when i use open (from unistd.h) to open the serial port it returns "-1".I also tried the getchark() function from https://github.com/RTEMS/rtems/tree/master/cpukit/libcsupport/src repository but it also returns "-1".

Serial port issues

2019-08-05 Thread Michel Macena
Hi, I'm working with an ERC 32 target board and would like to read strings or any characters in the serial input (UART). regular C printf() function works well but when I try fgets(), scanf() or fgetc() the board just does not get the string or any character, is there any RTEMS specific ways to get