Forum: System Workbench for STM32

Selecting a timer as the Timebase Source gets undefined reference error.

In STM32CubeMX 4.14 I selected TIM6 as the Timebase Source as recommened by a pop up when I generated the files. Upon compilation I got this error:

 
Description Resource    Path    Location    Type
undefined reference to `htim6'  stm32f3xx_it.c  /TEC_Driver_SW4STM32/Application/User   line 223    C/C++ Problem

A search shows that nowhere is there an initialization for the hitm6 handler, and there is not a MX_TIM6_Init() defined in tim.c, which is where it would be.

The processor is an STM32F373VCT
The STM32CubeMX project file is attached.

This is a problem with Cube, you need to post it on the ST forum.

-Matt