PendSV (clearing or not)

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
sdalu
Posts: 35
Joined: Wed Dec 30, 2015 5:31 pm
Has thanked: 1 time
Been thanked: 2 times

PendSV (clearing or not)

Post by sdalu »

Looking for information about PendSV I found this article
http://embeddedgurus.com/state-space/20 ... ur-cortex/
and was wondering if not manually clearing PendSV could be an issue for ChibiOS ARM implementation?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: PendSV (clearing or not)

Post by Giovanni »

Hi,

It has no impact, the ARMCMx port does not use PENDSV for rescheduling on M3/M4/M7. M0 uses it but not for context switching, no side effects.

Giovanni
sdalu
Posts: 35
Joined: Wed Dec 30, 2015 5:31 pm
Has thanked: 1 time
Been thanked: 2 times

Re: PendSV (clearing or not)

Post by sdalu »

Great. Thanks
Post Reply