cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7S3V8H "target CPU does not support ARMv8-M Security Extensions" when compile Application code

Isidre Sole
Associate III

Hi to all.

I'm starting a new project where we use the STM32H7S3V8H, and with the code generated with the STM32CubeMX (see IOC file attached) it compiles perfectly the Boot code but the Application code allways fail with the following error message:

"cc1: error: target CPU does not support ARMv8-M Security Extensions"

We don't have idea what we must do in the IOC to change this situation. Anyone knows why this error is happend? Any clue? 

Thanks in advance.

Isidre Solé

 

 

12 REPLIES 12

OK @Souhaib MAZHOUD 

Thanks for the support. 

Hope that you fix them in next application updates.

Check also for the same project the relative path for the Startup files. It's not correct in the files called: mx-generated.cmake

It appears as : 

./Startup/startup_stm32h7s3xx.s

and must be :

./Core/startup/startup_stm32h7s3xx.s

Anyway I close this issue.

Best regards

Isidre

Imen.D
ST Employee

Hi @Isidre Sole ,

This issue was fixed with STM32CubeMX V6.13.0 by removing the -mcmse flag from the CMakeLists.txt.

Please download and use the latest release.

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks Imen