2022-09-26 10:18 PM
I am trying to build my project with wolfssl software pack integrated. I am getting error: 'asm' operand has impossible constraints at the line __asm__ __volatile__ ( ) function from the file Middlewares/Third_Party/wolfSSL_wolfSSL_wolfSSL/wolfssl/wolfcrypt/src/sp_cortexm.c. how to solve it???
2022-09-28 04:35 AM
Hello @Community member
First let me thank you for posting.
Could you please provide the *.ioc file so I be able to investigate the issue.
Or at least the details about your environment:
Kind regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-09-28 05:40 AM
Perhaps cite the specific line at least. You're probably using an "r" parameter and the compiler has run out of registers to give you. Perhaps could use "g" instead.
Try with WOLFSSL_SP_SMALL *not* defined
If you can isolate it to one specific function perhaps you can use the C code for that rather than the assembler version.
Look also for specific compiler/code version issues which may have already been identified and fixed
Check it is the current version of this file.
2022-10-11 07:53 AM
I am having exactly same issue at my end. I am also getting error: 'asm' operand has impossible constraints at the line __asm__ __volatile__ ( ) function from the file Middlewares/Third_Party/wolfSSL_wolfSSL_wolfSSL/wolfssl/wolfcrypt/src/sp_cortexm.c.
details about your environment:
MCU ref : STM32F732IETx, LQFP 176
The package version : 5.1.1
The CubeMx and CubeIDE version : STM32CubeIDE Version: 1.10.1, STM32CUBEMX Version 6-6-1
Kindly suggest me.
2022-10-11 09:42 AM
I made several suggestions, which if any did you try and what kind of errors or warning, or functionality did those get?
2022-10-12 07:55 AM
The issue is resolved at my end by using STM32CubeIDE V1.5.0 instead of Version 1.10.1.
2022-11-04 06:45 AM
Hii All,
The above listed issue is resolved with new versions of STM32CubeIDE at my end.
I got this answer from wolfssl forum. Below is the link of answer:
Below are modifications needed in STM32CubeIDE with new version to build firmware successfully:
Version of tools are as below:
STM32CubeIDE Version 1.10.1
STM32CubeMx Version 6.6.1