I’d thought that Mbed Studio was built on Mbed v5.
Last night I was trying to change the serial pins for the serial monitor on an Nuvoton M453.
I’d done this before on an STM32 under v2 and v5 using the Serial API, which was pretty straight forward. The same code wouldn’t compile on Mbed Studio 1.41.
I tried using BufferedSerial, which would compile if I only called the constructor, but when I tried setting it up further using this code as an example I’d get errors. mbed-os-snippet-BufferedSerial_printf/main.cpp at v6.10 · ARMmbed/mbed-os-snippet-BufferedSerial_printf · GitHub
I did manage to get it working another way, but not knowing what version I’m on means I don’t know which documentation is relevant.