First you generate code, then you regenerate code, do make and…
> "make.exe" all make.exe all -C .. make.exe: Entering directory 'F:/MyDoks/elektronika/ARM/daiktas-cube/SINGLE_UART' Makefile:118: *** missing separator. Stop. make.exe: Leaving directory 'F:/MyDoks/elektronika/ARM/daiktas-cube/SINGLE_UART' make.exe: *** [makefile:3: all] Error 2 > Process Exit Code: 2 > Time Taken: 00:00
The bug is in generated main makefile:
# C includes C_INCLUDES = \ -IInc \ -IDrivers/STM32F1xx_HAL_Driver/Inc \ -IDrivers/STM32F1xx_HAL_Driver/Inc/Legacy \ -IDrivers/CMSIS/Device/ST/STM32F1xx/Include \ -IDrivers/CMSIS/Include -IDrivers/CMSIS/Include
There is a repeated line with “Include”. Just delete that line. Very interesting, but after next code generation this bug will not appear!