Skip to content
Commit bbe1a197 authored by Vikas Manocha's avatar Vikas Manocha Committed by Anas Nashif
Browse files

arch: arm: replace main thread switching assembly to C using cmsis



use cmsis functions to avoid using direct assembly for main thread
switching.

This patch uses cmsis functions to:
	- set PSP(process stack pointer) to main stack
	- enable interrupts

Fixes #12878

Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
parent 5b3bd4e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment