This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32CubeMX code not compiling with uVision

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:

  1. New project in uVision
  2. Set up my project components with Graphics LCD, SPI, and STM32CubeMX
  3. Launch STM32CubeMX when prompted
  4. Setup pins and project settings, and generate code
  5. In uVision, complete Run Time Environment component set up and accept the prompt to import auto-generated code
  6. Compile

Expected result: Everything compiles cleanly

Actual 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?

Parents
  • I had assumed the automatic generation step would take care of most of that itself.

    That doesn't seem an unreasonable assumption.

    But STM32CubeMX is an ST product - nothing to do with Keil or ARM.

    So you need to check ST's documentation for any necessary steps to work with Keil

    And any feedback you have about STM32CubeMX needs to be directed to ST 

Reply
  • I had assumed the automatic generation step would take care of most of that itself.

    That doesn't seem an unreasonable assumption.

    But STM32CubeMX is an ST product - nothing to do with Keil or ARM.

    So you need to check ST's documentation for any necessary steps to work with Keil

    And any feedback you have about STM32CubeMX needs to be directed to ST 

Children
No data