[riot-notifications] [RIOT-OS/RIOT] tests/pkg_ubasic: failing on esp32-wroom-32 (#13984)

Gunar Schorcht notifications at github.com
Fri May 1 13:56:06 CEST 2020


Sorry that I'm reacting with such a big delay, but I'm fully busy with the preparation of my online courses for the online summer term at the university :worried:

The reason for the problem seems to be the new toolchain version with the `newlib-nano-formatted-io` we introduced a few weeks ago. The ESP32 locks completly when
```c
  printf("done. Run time: %.3f s\n", delta_t);
```
is called in `pkg/ubasic/tests.c`. Then it is no longer accessible, not even with the debugger.

So it seems that `printf` with `float` does not work with the `newlib-nano-formatted-io` anymore. I can reproduce this problem with a small test program and `printf` with `float`. Unfortunatly, I have no time at the moment to investigate in more detail why the `printf` function crashes with `float`.

@kaspar030 Should we revert the toolchain change to solve this problem for the moment? This would also solve the problem with the `%llu` format we already discussed in https://github.com/RIOT-OS/RIOT/pull/13812#issuecomment-613339440. Or should we blacklist the test, should we blacklist the test? But blacklisting the test wouldn't solve the reason for the problem and any user could try to use `printf` with float.
 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/13984#issuecomment-622359321
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200501/265c659e/attachment.htm>


More information about the notifications mailing list