I'm trying to get my STM32373C-Eval board LCD working with the STM32CubeMX generated code, but it isn't building after getting set up. Here are my steps:
Expected result: Everything compiles cleanlyActual result: C:\path\to\project\directory\Inc\stm32f3xx_hal_conf.h(206): error: #5: cannot open source input file "stm32f3xx_hal_exti.h": No such file or directory
There are lots of missing file errors. Does anyone know what went wrong in the project and code generation process?
uVision does not know the path of your header files.Simply include them, as mentioned in the below link, section "Specify an 'Include Path' for your project's header files":
http://www.keil.com/support/docs/1740.htm
That header file is not my code, it was generated by STM32CubeMX. What other configuration steps are necessary to get the generated code to build? I had assumed the automatic generation step would take care of most of that itself.
In simple words, there is no magic to automate the process.Check the compiler errors and act accordingly.Below link can also be helpful:https://www.keil.com/pack/doc/STM32Cube/General/html/cubemx_proj.html
View all questions in Keil forum