When using a standard library which does not support multi-threading
allow only one thread to be used. This allows the code to remain
safe.
This also pulls up on the mbed library to use this change:
df0c855df9...5acdad9fd7
Pull in mbedmicro/mbed. Make the following changes in addition:
- Ignore unused directories in mbed
- Add stub mbed-drivers/mbed.h for backwards compatibility
- Remove targets.json and instead use mbed's version