cancel
Showing results for 
Search instead for 
Did you mean: 

How program in c/c++ a STM32F401CDU6?

Raffaele Mineo
Associate
Posted on May 24, 2017 at 18:32

I have bought an ESPruino Pico for his microprocessor STM32F401CDU6. How can i port into it a program written in MBED?

I am new. How can I programm this chip in c/c++ for my project?

Thanks in advance

#stm32f401cdu6-espruino
2 REPLIES 2
valentin
Senior
Posted on May 24, 2017 at 22:05

I can only give you my workflow as an example:

1. Configure with CubeMX, use FreeRTOS, SDIO, USB as required and generate Atollic C project

2. In Atollic, convert project to C++. Copy compiler settings from C to C++ (symbols, include paths, etc)

3. For FreeRTOS, use

https://michaelbecker.github.io/freertos-addons/

to allow object member threads, mutexes, queues, etc

4. Have fun

Posted on May 25, 2017 at 18:19

Thanks