Skip to main content
godlyblade
Associate II
January 10, 2020
Solved

Timer initialization code not generated in STM32CubeMX 5.5.0

  • January 10, 2020
  • 1 reply
  • 1025 views

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.
Best answer by godlyblade

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

Problem can be closed.

1 reply

godlyblade
godlybladeAuthorBest answer
Associate II
January 10, 2020

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

Problem can be closed.