STM32Cube FW_F4 V1.14.0 error on SW4STM32
Hi All,
Maybe something went wrong on the new FirmWare template, because it generates the make command without double quote around __weak= and __packed= switches like this:
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F411xE -I'/home/zamek/stm32/BluenrgTest/Inc' -I'/home/zamek/stm32/BluenrgTest/Drivers/STM32F4xx_HAL_Driver/Inc' -I'/home/zamek/stm32/BluenrgTest/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy' -I'/home/zamek/stm32/BluenrgTest/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F' -I'/home/zamek/stm32/BluenrgTest/Drivers/CMSIS/Device/ST/STM32F4xx/Include' -I'/home/zamek/stm32/BluenrgTest/Middlewares/Third_Party/FreeRTOS/Source/include' -I'/home/zamek/stm32/BluenrgTest/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS' -I'/home/zamek/stm32/BluenrgTest/Drivers/CMSIS/Include' -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF'Src/freertos.d' -MT'Src/freertos.o' -o 'Src/freertos.o' '../Src/freertos.c'
The compiler cannot compile this line without double quotes. When I change it to manually it works well.
thx,
Zamek