2018-09-10 08:46 PM
When a TSC is selected, CubeMX populates two lines of the same source file in the Makefile. In other words, there are two lines of:
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tsc.c
in the Makefile created by CubeMX. To reproduce, create a new project with a L0 device, select TSC with some channel settings, and generate a Makefile project.
Another bug is that CubeMX failed to update existing Makefile. To reproduce this bug, simply open up existing Makefile project file (*.ioc) and try to regenerate it.