Skip to main content
Visitor II
April 25, 2014
Question

STM32Cube file generation problem

  • April 25, 2014
  • 14 replies
  • 4975 views
Posted on April 25, 2014 at 17:17

The STM32Cube 

project file

attached

does not generate

the file

gpio.c

Can someone help me

?
    This topic has been closed for replies.

    14 replies

    ST Employee
    June 17, 2014
    Posted on June 17, 2014 at 14:48

    Dear All,

    Issue confirmed and resolved for MX 4.3 release.

    Thank you for reporting it.

    Visitor II
    December 14, 2015
    Posted on December 14, 2015 at 21:05

    I have the same problem with cubeMX 4.12 but this time it's pretty random which files are gone. Sometimes main.c or usart.c or another file. Is there a solution for this problem?

    My sincerely,

    ST Employee
    February 22, 2016
    Posted on February 22, 2016 at 11:12

    Can you please share the .ioc file that reveals the issue.

    Please verify the project settings option to ''generate peripheral init as pair of.c/.h files per IP'' is checked. This shall ensure the gpio.c file gets generated.  
    Explorer
    September 19, 2024

    I had the same problem. SOLUTION: https://community.st.com/t5/stm32cubemx-mcus/usart-h-usart-c-and-the-gpio-h-gpio-c-files-are-missing/td-p/166257

     

    It's a setting that needs to be enabled under .ioc code generator.