10 years, 1 month ago.

ST's code for Nucleo on mbed.

Is there any possible way to port code which is written for stm32f401re to mbed?

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F401RET6 microcontroller.

1 Answer

10 years ago.

Most code can be ported 1:1 to mbed. The mbed lib is using timer5 internally - use other timer. Also PA2 PA3 serial is connected to the debug interface. The online compiler is using the ARM compiler. If you use code written for the gnu compiler it is possible that you have to change some compiler directives because of the different syntax.

Great info. Thanks.

posted by ROBERT PEARSALL 10 May 2014