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é

 

 

10 REPLIES 10

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