Re: Can printf() be made SMP safe?

2021-04-30 Thread Dave DeGroote
Thanks Joel! I said it was crashing, it's actually currently hanging, but it changes. The common thread is it always seems to be in semaphore access functions w/at least one task in printf(). I don't think it's floating point, it looks like RTEMS_FLOATING_POINT is passed to rtems_task_create()

Re: Can printf() be made SMP safe?

2021-04-30 Thread Joel Sherrill
On Fri, Apr 30, 2021 at 2:07 PM Dave DeGroote wrote: > Hello, > > I'm trying to get RTEMS running using SMP on a Leon3/gr712rc (2 cores). I > have it partially running, but it crashes intermittently on printf's. Can > anyone tell me if there's a way to make printf() SMP safe? printf appears > t

Can printf() be made SMP safe?

2021-04-30 Thread Dave DeGroote
Hello, I'm trying to get RTEMS running using SMP on a Leon3/gr712rc (2 cores). I have it partially running, but it crashes intermittently on printf's. Can anyone tell me if there's a way to make printf() SMP safe? printf appears to use termios which uses rtems_mutex_init() and rtems_binary_se