I want to use mbed os 2 project with visualgdb

I have a project using mbed os 2, and I want to use visual studio with visualGDB to compile the project.
The target for the project is STM32F103C8T6 and since mbed os 2 didn’t support this target, the project was developed for STM32F103RB with the help of instructions found on the mbed website.

When I create the project with Visual Studio it couldn’t locate the target. I still want to use mbed os 2. Can anyone help me?

Thank you.

It sounds like Visual GDB can load CMake projects, right? In that case, you can use my old mbed-cmake Paleo Edition branch. That allows you to compile Mbed OS 2 using a CMake-based build system. After that you’re on your own, I’m afraid – this branch should still work but I haven’t touched it in years.