Skip to main content
godlyblade
Associate II
Jan 10, 2020 9:23 AM UTC
Solved

Timer initialization code not generated in STM32CubeMX 5.5.0

Hello,

in the last days I worked a lot with STM32CubeMX without any problems (STM32L432KC). I2C, SPI, UART and CAN work pretty well.

Now, I try to configure a simple PWM timer. When I only activate a timer (lets say TIM15 / The behaviour is the same for other timers) and I just generate code the following line will be created in main.c.

MX_TIM15_Init();

This seems to be exactely the same like for all other peripherals... But when I compile the project, it says, that MX_TIM15_Init(); is not defined. An overall search confirms, that there is just a declaration in tim.h but no implementation.

Can anyone reproduce this issue?

Best regards!

This topic has been closed for replies.
godlyblade
godlybladeBest answer
Associate II
Jan 10, 2020 9:27 AM UTC

It seems to be based on my IDE settings...

Problem can be closed.

1 reply

godlyblade
godlybladeAuthorBest answer
Associate II
Jan 10, 2020 9:27 AM UTC

It seems to be based on my IDE settings...

Problem can be closed.