With mbed OS 5, it seems the silicon labs kits have problems with printf. Tested this with one of the inbuilt examples and just adding a printf command. The program worked fine, but no output on the serial line.
Thanks again for the help. I will try this directly tomorrow.
However, if this is the reason for the problem, why would the examples for the happy gecko automatically import the mbed 5 library and not the mbed 2 one?
Good point, they shouldn’t. I suspect you are in fact using the mbed 2.0 SDK and there is now a problem. Please double check and then report the issue along with a reproducable test case to Issues · ARMmbed/mbed-os · GitHub .
I now verified that the programs use mbed 2.0, but the error remains. I reported an issue (#2791) as you suggested.
In the meantime, do you know how to revert to an older version of the mbed 2.0 library. I use the platform in education and it would be great if I could at least find a workaround as soon as possible.