Arm Mbed and Pelion Device Management support forum

Export binary file from mbed Studio

I’m following this tutorial: https://os.mbed.com/users/hudakz/code/STM32F103C8T6_Hello/ to upload code into a blue pill.
The problem is that I don’t find the way to export the binary file from MBED studio (running on windows 10).

I have successfully downloaded the binary file from the online compiler. But my project was made on mbed studio and I also can’t find a way to upload the project into the online compiler.

Hi there,

after successful compilation the .bin file is in the BUILD folder.
For example…
Mbed Programs\YOUR_PROJECT_NAME\BUILD\YOUR_TARGET\ARMC6\your_project_name.bin

When you want switching between the Online Compiler and the MbedStudio you will probably need to know something about source control.

If you want to switch from the MbedStudio to the Online Compiler only for one time. Just make a new project and drag & drop files (No folders only files like - main.cpp,mbed_app.json, .cpp and .h files of your libraries ) of your project from Windows File Explorer to the folder of the project in the Online Compiler.

BR, Jan