01.06.2013 Views

Choosing an RTOS - IAR Systems

Choosing an RTOS - IAR Systems

Choosing an RTOS - IAR Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How to choose <strong>an</strong> <strong>RTOS</strong> – ESC 2011<br />

Common features of <strong>RTOS</strong>s<br />

Events/Flags<br />

• A semaphore is a simple flag that allows a piece of code to<br />

execute if a resource is available or a condition is true<br />

• In general, events/flags allow the developer to specify a<br />

series of conditions that c<strong>an</strong> halt the execution of a piece of<br />

code until all the conditions defined by the events/flags are<br />

true<br />

• These give a greater degree of flexibility to the developer,<br />

but exactly how these are implemented (<strong>an</strong>d how m<strong>an</strong>y c<strong>an</strong><br />

be specified) varies from <strong>RTOS</strong> to <strong>RTOS</strong>, so it is import<strong>an</strong>t<br />

to know a priori approximately how m<strong>an</strong>y blocks a task may<br />

need when you choose your <strong>RTOS</strong><br />

• Having a good kernel-aware debugger is key when trying to<br />

debug problems related to events/flags!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!