Skip to main content
ALiss
Associate II
October 2, 2019
Solved

Missing files when generating project with CubeMX 5.3.0 for SW4STM32?

  • October 2, 2019
  • 1 reply
  • 840 views

Hello,

I am using STM32CubeMX 5.3.0 for Mac OSX Sierra with the STM32F746G-DISCO. I am successfully generating a project to use with the Eclipse plugin for SW4STM32. However, there is an error when building the project, stemming from a missing linker script ".ld". I also have to clarify in the compiler arguments to add the processor "-mcpu=cortex-m7".

It might sound a bit lazy, counting on the CubeMX software to do all the heavy lifting, but isn't the code generation supposed to provide a LinkerScript? Could there be something wrong with the project setup in CubeMX? I am just trying to get a minimal project working when building and debugging using SW4STM32.

Thank you,

This topic has been closed for replies.
Best answer by ALiss

Solution: I switched IDE to STM32CubeIDE. Using the project creation along with the Device Connfiguration tool I got it working. I still don't know about the functionality of CubeMX when creating projects for Eclipse with SW4STM32 plugin, it didn't seem to work.

1 reply

ALiss
ALissAuthorBest answer
Associate II
October 3, 2019

Solution: I switched IDE to STM32CubeIDE. Using the project creation along with the Device Connfiguration tool I got it working. I still don't know about the functionality of CubeMX when creating projects for Eclipse with SW4STM32 plugin, it didn't seem to work.