Closed
Description
Description of defect
when "MBED_SLEEP_TRACING_ENABLED" Macro is defined, initializing UARTserial leads to an MBEDOS "Not allowed in ISR context" fault.
It is enough to just initialize it with a given baudrade (I tested with 9600) to reproduce this issue.
Target(s) affected by this defect ?
NRF5x Cordio
(maybe more?)
Toolchain(s) (name and version) displaying this defect ?
PlatformIO 4.2.1
What version of Mbed-os are you using (tag or sha) ?
5.14.1
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
PlatformIO 4.2.1
How is this defect reproduced ?
UARTSerial *ser = NULL; ser = new UARTSerial(P0_6,P0_8,9600);
add "MBED_SLEEP_TRACING_ENABLED" macro.