Skip to main content
Associate
March 14, 2024
Question

How to sovle the issue of "error: inconsistent operand constraints in an 'asm' "

  • March 14, 2024
  • 2 replies
  • 1930 views

 

When I try to compile stm32 image processing library by using the compiling toolchain provided by stm32cubeIDE.

I met an error which tell me " inconsistent operand constraints in an 'asm' "

The detailed error information is shown in following two pictures:

----------------------------------------------------------------------------------------------------------------------

error_1.jpgerror_2.jpg

Please guide me to know how I can resolve the this issues

This topic has been closed for replies.

2 replies

Technical Moderator
April 26, 2024

Hello @veryneo 

 

In order to reproduce the issue you are encountering, could you please provide us with more details regarding the tools version and MCU series you are using.

  • STM32CubeMX version.
  • STM32CubeIDE version.
  • MCU series. 
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Andrew Neil
Super User
April 26, 2024
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.