It’s not easy to use Mbed with STM32CubeIDE.
I have tried to make Mbed OS2 projects usable in STM32CubeIDE.
However, it is limited to the following conditions
PC: Windows 10 OS
Board: STM32Nucleo-F401RE
If you want to try to use Mbed in C++, you can download the following project.





