it seems like the Mbed library was imported incorrectly or IDE does not support it. When I tried update to MbedOs 5.2 (or downgrade from MbedOS 6) then I see better result and the MbedOs version si not soo far.
I was hoping that someone would tell me I could manually specify the target, but it seems I need to import an up-to-date mbed-os and modify my code. I don’t know the full extent of changes I need to make, but a few functions are now unsupported:
wait
TCPServer doesn’t exist (now configured through TCPSocket)
Thanks but pointing to the most recent version of mbed-os from mbed.lib did not make the targets appear. It seems the imported library needs to contain target files
To be honest it is not so much work.
However all these APIs were removed in MbedOS 6 but all these old APIs are still available in MbedOS 5 only with a “deprecated” warning which can be ignored. So from my point of view you can safely use latest MbedOS 5.15.9.
Hi JohnnyK. It took a few hours to modify the code and debug a strange error (running the motor in a high resolution step mode at max speed blocked incoming TCP messages - it didn’t use to). But now it works fine and with an up-to-date mbed-os library. Thanks for your help