This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

function __set_MSP(uint32_t topOfMainStack)

Hello !!!!!

I trying to use __set_MSP(uint32_t topOfMainStack), but when I'm using __set_MSP it is needed to add: #include "core_cm3.h" #include "core_cmFunc.h"

When I do this it occured errors:

C:\Keil_v5\ARM\PACK\ARM\CMSIS\3.20.4\CMSIS\Include\core_cmInstr.h(129): error: #667: "asm" function is nonstandard

And another same errors ...
I use STM32F207ZET processor. Can you explain how correctly use __set_MSP(uint32_t topOfMainStack)