[riot-notifications] [RIOT-OS/RIOT] iotlab-m3: thread tests failing (#10800)

Alexandre Abadie notifications at github.com
Thu Jan 17 15:16:55 CET 2019

Ok, the problem is not only affecting the iotlab-m3 board but also all STM32 based boards that I have tested until now (nucleo-091rc, b-l072zlrwan1, b-l475e-iot01a).

The problems comes from multiple threads trying to print nearly at the same time. A potential solution (discussed offline with @cladmi) would be to use some kind of atomic stdio functions: if a thread is already writing to UART, no other should be able to print until the first one is done. I'm not sure if this won't break the DMA feature itself but with minimal changes, it will fix the tests.

The proposed solution should be discussed further, but it may take some time, I propose to revert the use of DMA at board level.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190117/6d9b3696/attachment.html>

More information about the notifications mailing list