Loading...
 
Skip to main content

System Workbench for STM32


First time program in STM32F411E-Disco


Hi,

Normally that bugs should disappear. If I am not wrong, that unknown symbols are parser related - that doesn't know at that moment some include paths. Anyway the compiler could resolve all includes.

You can try to:
1) Refresh the project: right-click on the project name - "stm32f411e-disco Configuration", then from drop-down menu choose Refresh
2) Rebuild project index: right-click on the project name then choose Index > Rebuild

I am not sure, but I think after above steps, bugs should disappear.

You can also:
3) Go to Problems view (this window appears at the bottom of the screen , on your screenshot you don't have this window. To display, in System Workbench go to Window > Show View > Problems). Delete all errors


As a note, your project still has "Configuration" word in the name. A recommendation from AC6 is to remove the space from project name:
(This could be a reason to confuse the parser).

"
Rename the generated files

To circunvent, at least partially, the project naming problem, you could rename the generated files :

Right click on project > Properties
Go to C/C++ Build > Settings > Build Artifact
Suppress " Configuration" from the artifact name (or give it a more significant name)
(Do not rename your project : Eclipse seems to break all linked resources pointing to project-relative paths when the project is renamed.)"

You can find this in the documentation: Importing an STM32CubeMX generated project under System Workbench for STM32.

 
Collapse/expand modules below