Skip to main content
Visitor II
December 13, 2020
Question

STM32F412VGT6 compilation error due to cmsis_gcc.h

  • December 13, 2020
  • 0 replies
  • 1307 views
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?

    This topic has been closed for replies.