cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F412VGT6 compilation error due to cmsis_gcc.h

ANiko.2
Associate
Assembler messages:                                 
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:879: Error: number of operands mismatch for `ds'     
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:868: Error: no such instruction: `isb 0xF'           
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:879: Error: number of operands mismatch for `ds'     
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:879: Error: number of operands mismatch for `ds'     
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:890: Error: no such instruction: `dmb 0xF'           
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:879: Error: number of operands mismatch for `ds'     
/Drivers/STM32F4xx_HAL_Driver/Inc/cmsis_gcc.h:868: Error: no such instruction: `isb 0xF'

Hello, I am working on a STM32F412VG project using CMake -> Makefile. When compiling, these error are shown after 47% of compilation is done. It is very wierd to me since that file is a system file, not written by me. Do you have an idea how is this possible and how to fix this?

0 REPLIES 0