Hi Simon,

Reading the Cortex-M3 Technical Reference Manual (DDI0337E) it certainly would be good idea to use the SVC instruction to cause a context switch. For those interested SVC is similar to SWI in other micros. The manual has a suggested method for context switch which we should follow. The eCos scheduler determines which thread to run and the ARM example code would switch it.

Keith

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to