0

When we are importing an example project to the STM32CubeIDE, it probably uses .cproject and .project files present in the project directory to import required drivers and middleware. For example, here's a list of source files for an example project import into the IDE:

How can I automatically add the set of sources part of Middleware and Drivers folder above to a new project's .project and .cproject files, so that they are properly added to the build configuration?

vb000
  • 81
  • 1
  • 5
  • Are you using STM32CubeMX? With STM32CubeMX, you can select the drivers and middleware that you want to include and it will generate the project for you. – kkrambo Mar 07 '22 at 15:07
  • @kkrambo I'm not sure, I'm using the the standard STM32CubeIDE, is STM32CubeMX part of the IDE? Thanks! – vb000 Mar 07 '22 at 20:24

0 Answers0