8 years, 1 month ago.

Using an offline toolchain and back to mbed

hello

I have a question regarding mbed and external toolchains.

I have programmed my STM32F091 with a mbed program and it is working good.

However I read that you can program the STM32 with eclipse and GCC. The code is completely different than with mbed.

Say I succesfully program it, and then I want to go back to program it with mbed,

Is this possible? I am afraid that by flashing the STM32 something gets erased and I cant go back to use mbed.

Forgive my ignorance but what does "mbed enabled" means technically anyway? ("You can use mbed in it" I know but what does this implies technically?) Because I have another STM32 board and I dont think this is "mbed enabled" .

Thanks

FYI, we added documentation on offline development and debugging with mbed.

posted by Jan Jongboom 11 Apr 2016

2 Answers

8 years, 1 month ago.

You can program with whatever code you want. The aux processor that connects to the USB port will correctly program code made by GCC or by mbed. No worries.

Accepted Answer
8 years, 1 month ago.

Hello,

- It's possible to import your project from Eclipse to Mbed, you can import your program via the Import Wizard : https://developer.mbed.org/handbook/Importing-code

- To have more idea about Mbed enabled, you can refer to this handbook link: https://developer.mbed.org/handbook/mbed-Enabled

Hope this help you Regards

Thank you for your reply.

My main worry is; if I write my Nucleo with non-mbed program, can I later reprogram it with an mbed program normally??

posted by Cristian Fuentes 08 Apr 2016

Yes, It's possible to import the project back into mbed and reprogram it. https://developer.mbed.org/handbook/Importing-code

posted by mbed men 20 Apr 2016