2 years, 9 months ago.

How can I work with a board if it is not available in the online compiler?

Hi,

I've just got myself a STM32F4DISCOVERY but it's page on the mbed site says that there isn't yet online support for it, and gives the following github link as an alternative:

https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407xG/TARGET_DISCO_F407VG

My question is what I am supposed to do with these 4 source files to get code running on the board?

Thanks in advance!

3 Answers

2 years, 9 months ago.

Can you be more specific about which board you have? Some of the processors are cousins and the mbed board *may* work. Otherwise it will require cloning the mbed-os source from github and changing the target processor pin definition files (and possibly more). Once you post up the response can be clarified.

2 years, 9 months ago.

Hi

Check https://os.mbed.com/docs/v5.7/tools/index.html

And in particular Arm Mbed CLI part

Regards,

2 years, 9 months ago.

It is going to be far easier if you just use a board that is already supported. Adding a new target is for the most part non-trivial.