Troubles with STM32CubeMX version 4.18 in Ubuntu 16.10.
STM32CubeMX version 4.17 in Ubuntu 16.10 generates projects, which SWSTM32 is compiling without any problems.
STM32CubeMX version 4.18 in Ubuntu 16.10 generates projects, which SWSTM32 refuse to compile.
The compilation of project was stoped with an error message:
<p>
09:25:29 **** Incremental Build of configuration Debug for project STM32VL_DDS ****
make all Building file: ../Src/main.c/bin/sh: 1: Syntax error: '(' unexpectedInvoking: MCU GCC Compiler/home/wshurpa/workspace/STM32VL_DDS/Debugarm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F100xB -I'/home/wshurpa/workspace/STM32VL_DDS/Inc' -I'/home/wshurpa/workspace/STM32VL_DDS/Drivers/STM32F1xx_HAL_Driver/Inc' -I'/home/wshurpa/workspace/STM32VL_DDS/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy' -I'/home/wshurpa/workspace/STM32VL_DDS/Drivers/CMSIS/Device/ST/STM32F1xx/Include' -I'/home/wshurpa/workspace/STM32VL_DDS/Drivers/CMSIS/Include' -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF'Src/main.d' -MT'Src/main.o' -o 'Src/main.o' '../Src/main.c'Src/subdir.mk:27: ?????? ????????? ??????? ??? ???? �Src/main.o� ??????? ???????make: *** [Src/main.o] ??????? 2 09:25:30 Build Finished (took 111ms)</p>
Problem does not occur in STM32CubeMX version 4.18 for Windows.
I must use STM32CubeMX version 4.17 in Ubuntu because this problem.
Thank you for support!
With best regards
Vitaliy
#ubuntu #swstm32 #linux #stm32cubemx #openstm32