Loading...
 
Skip to main content

System Workbench for STM32


Re: SW4STM32 or CubeMX to init STM32 device

France

Hi Elliott,

In fact the right way to go should be a 4th possibilities:

  1. Open System Workbench and choose a suitable workspace (could be empty but should probably be the directory in which CubeMX generated its code)
  2. Import the project created by CubeMX:
    • Right click in the project explorer >> "Import..."
    • Select "General" >> "Existing Projects into Workspace"
    • Browse to the directory where CubeMX generate code
    • Here you should not select Copy projects into workspace
      • If you do, the source code will be moved and relative paths will no more be correct


Then you should have a working project

Bernard

 
Collapse/expand modules below