Question
Generated makefile has duplicated entries for some source files
Posted on November 01, 2017 at 20:39
CubeMX 4.23.
Board nucleo-f429zi and STM32CubeF4 is of v1.17.0
Compiling with makefile arm-gcc-none-eabi version: 5.3 2016q1
All is done on linux
I just noticed another thing,
Completely freshly generated makefile has duplicate entries for some of the source files:
I see gpio.c, main.c, usb_otg.c have been duplicated, maybe more, it's just some I've noticed by quickly reading the list my self.
C_SOURCES = \
Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.c \Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c \Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.c \Src/gpio.c \Src/gpio.c \Here is a link to full makefile generated by cubemx
