cancel
Showing results for 
Search instead for 
Did you mean: 

[bug] STM32CubeMX generate lot of .tmp files in source directory

Jan Breuer
Associate III
Posted on November 14, 2017 at 09:48

After creating the project, there are lot of .tmp files in the source directory. They are always regenerated. I have selected to generate all code in main.c instead of separate file for each peripheral.

e.g. gpio.tmp

#n/** Configure pins as #n #t#t #t* Analog #n #t#t #t* Input #n #t#t #t* Output#n #t#t #t* EVENT_OUT#n #t#t #t* EXTI
*/
static void MX_GPIO_Init(void)
{
#n
#n#t/* GPIO Ports Clock Enable */
#tLL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOA);
#tLL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOB);
#n
}
#n
�?�?�?�?�?�?�?�?�?�?�?

MCU:STM32F030F4Px

PC OS: Linux

CubeMX version: 4.0

Firmware package:STM32Cube FW_F0 V1.9.0

7 REPLIES 7
Imen.D
ST Employee
Posted on November 15, 2017 at 15:24

Hello,

Please share your .ioc file. I will raise your issue internally to CubeMx team. 

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on November 15, 2017 at 15:38

Hello,

here it is

https://pastebin.com/raw/r8RkG40i

BTW is there a better way to share files on ST forum?

Jan

________________

Attachments :

ita_pwm.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyH9&d=%2Fa%2F0X0000000b5e%2FKxqQOc290HFJmzKGNv_v_XAXmp1K2oHb2.72d5R3a5Y&asPdf=false
175516CGIL3
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on November 15, 2017 at 16:13

Thank you. I searched it on the top bar and it was on the bottom.

Yuan Zhou
Associate
Posted on November 29, 2017 at 02:50

Also have this problem on Archlinux, Cubemx version 4.23.0.

The same project on windows doesn't have this problem

Christopher Wilson
Associate
Posted on January 08, 2018 at 05:44

FYI, I'm also seeing this bug on macOS 10.13.2 with CubeMX 4.23.0

Houda GHABRI
ST Employee
Posted on May 03, 2018 at 15:29

@

Breuer.Jan

Hi,

you can upgrade to the latest version of CubeMX, the problem is solved.

regards,

Houda