Cannot build example projects (from STMCubeF4), includes seem to be missing
Hello, I have a huge problem while trying to run examples from STMCubeF4 software kit in SW4STM32.
What I do - I import project using: File->Import->General>Existing projects into workspace
I tried both with Template and GPIO_Toggle projects for STM32446E-Nucleo.
With both I get a lot of errors in ‘Problems’ tab.
Examples of errors:
Symbol ‘RCC’ could not be resolved system_stm32f4xx.c /STM32446E_Nucleo/Drivers/CMSIS line 165
Type ‘uint32_t’ could not be resolved system_stm32f4xx.c /STM32446E_Nucleo/Drivers/CMSIS line 165
Field ‘PLL’ could not be resolved main.c /STM32446E_Nucleo/Example/User line 128
It seems, that somehow SW4STM32 does not recognize header files.
Indeed, when in for example main.c, I can hover over #include “main.h” and it gives me:
Unresolved inclusion: “main.h”
Besides I cannot build the project, because it ust prints:
”**** Build of configuration Debug for project STM32446E_Nucleo ****
Nothing to build for project STM32446E_Nucleo”
I tried to Right click the project, then go to “Index” and click in all options available, leaving the “Rebuild” option for the last. This did not solve the problem.
How can I fix those two issues?