2019-03-07 01:32 PM
If Makefile is set as output Toolchain/IDE on STM32L1 (specifically STM32L100C-Discovery board, STM32L100RCT6 onboard), CubeMX generates invalid (unparsable) Makefile.
In my case, this were project settings:
Generated Makefile has a missing '\' (and duplicated entry) at the line 122 :
# C includes
C_INCLUDES = \
-ICore/Inc \
-IDrivers/STM32L1xx_HAL_Driver/Inc \
-IDrivers/STM32L1xx_HAL_Driver/Inc/Legacy \
-IDrivers/CMSIS/Device/ST/STM32L1xx/Include \
-IDrivers/CMSIS/Include # missing '\'
-IDrivers/CMSIS/Include
Can someone please check what is going on? Thank you!
2019-03-07 02:35 PM
In fact, there is a whole lot of other bugs I've stumbled upon:
I hope I am the only one having this issues - this is just way too much general issues to be true.
CubeMX version: 5.1.0 and previous one.
2019-03-09 12:21 PM
Duplicated line, but with a valid syntax:
C_INCLUDES = \
...
-IDrivers/CMSIS/Include \
-IDrivers/CMSIS/Include
is also generated for STM32F051 device. Makefile is not ovewritten on regeneration as with previous version.