Hello there,
I think you use the Online Compiler. If yes, then you are right, it is wrong and it is caused by unfinished build system for online tools.
It mean when the compiler say something like BufferedSerial/UnbufferedSerial not exist or the compiler do not know ms
Error: No matching literal operator for call to ‘operator""ms’ with argument of type ‘unsigned long long’ or ‘const char *’, and no matching literal operator template in “main.cpp”, Line: 20, Col: 31
That is occurs when MbedOS 6+ is not MbedOS 6+ but Mbed OS 5.15
For verification what MbedOS version you use just place
printf(" MbedOS v %d.%d.%d\r\n", MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION);
or macro
#if MBED_MAJOR_VERSION < 6
# warning ("Warning : MbedOS is lover then 6!")
#endif
Latest working 6+ version is MbedOS 6.2.1. That issue is applies to the last two versions - MbedOS 6.3 and 6.4. That issue was already discussed, see below, but still no response from Mbed team but new version was released and still same issue…
BR, Jan