Skip to main content
Raffaele Mineo
Associate
May 24, 2017
Question

How program in c/c++ a STM32F401CDU6?

  • May 24, 2017
  • 1 reply
  • 761 views
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
This topic has been closed for replies.

1 reply

valentin
Associate III
May 24, 2017
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

Raffaele Mineo
Associate
May 25, 2017
Posted on May 25, 2017 at 18:19

Thanks