With the example, mbedOS 5 is imported instead of mbedOS 6

When trying to import an example for mbedOS 6, for example UnbufferedSerial Example (from here: https://os.mbed.com/docs/mbed-os/v6.4/apis/unbufferedserial.html), by clicking the "Import into Mbed IDE ", the import succeeds, but during compilation, an error is thrown that the UnbufferedSerial class is unknown, when you view the classes in the mbed-os subdirectory in the Online Compiler, you can see that the UnbufferedSerial class really does not exist, but there are classes from mbedOS5, for example, Serial

Hi,

yes, this persist more then month and without reaction, please see Cloud OS6.3 reports version 5.14.2?

BR, Jan

Hi @lituriy, @JohnnyK,

Thank you for reporting this issue and apologies that it hasn’t been looked at sooner. I’ll assign it to the correct team.

Thanks,
Arek - Studio team

Hi @lituriy, @JohnnyK,

We are working on resolving this issue now, we hope to have it resolved later today.

Sorry for the inconvenience and the time it has taken us to look into the issue.

Best regards,
Graham

Hi @lituriy, @JohnnyK,

We haven’t been able to resolve the core issue, we are continuing to work on it but we think it is going take a little longer than we hoped.

For now a work around is to set the version of the Mbed OS being used in the example to 6.2. In the Online Compiler this can be achieved by expanding your example in the sidebar (select +) and then right clicking mbed-os and selecting Revisions.... From that page please select the tag mbed-os-6.2.0 and select Switch working copy to this revision.. .

Hope this helps,
Graham

This gives a strange behavior: Compilation is successful, but the Class description still has Serial, but no BufferedSerial. Example “BufferedSerial_printf” prints to the console “Mbed OS version 6.2.0”

Hi @lituriy, @JohnnyK,

We have resolved the issue with Mbed OS 6.3 incorrectly using 5.14 inside the Online Compiler. The issue was caused by part of our release process for new versions silently failing and thus releasing the wrong version. Mbed OS 6.3 and 6.4 are now correctly available, and we have added an additional check to our release process to prevent this issue in the future.

As for the incorrect class descriptions inside the Online Compiler, this is still being investigated.

Thanks,
Sam

Thank you for that news

BR, Jan