This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 SDK 14.2 & Segger Embedded Studio V3.40 : unrecognizable insn: error at compilation

Hello,

I have moved my project from SES 3.34a to 3.40 and I see a new error at compilation.

When compiling the file nrf_pwr_mgmt.c’, I have the errors below :

unrecognizable insn:

SI (plus:SI (reg/f:SI 105 virtual-stack-vars)

/Users/ybernard/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/CMSIS_5/CMSIS/Core/Include/cmsis_gcc.h":737 -1

in extract_insn, at recog.c:2311

If I force SES v3.40 to use the compiler from the 3.34a version, it works smoothly.

Do you have any idea what the issue may be ?

Thank you,

Regards

Yves 

Related