cancel
Showing results for 
Search instead for 
Did you mean: 

Timer initialization code not generated in STM32CubeMX 5.5.0

godlyblade
Associate III

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!

1 ACCEPTED SOLUTION

Accepted Solutions
godlyblade
Associate III

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

Problem can be closed.

View solution in original post

1 REPLY 1
godlyblade
Associate III

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

Problem can be closed.