]> begriffs open source - cmsis/blob - dev/v6.0.0-dev53/RTOS2/html/index.html
Update documentation for release dev/v6.0.0-dev53
[cmsis] / dev / v6.0.0-dev53 / RTOS2 / html / index.html
1 <!-- HTML header for doxygen 1.9.6-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=11"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>CMSIS-RTOS2: Overview</title>
9 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
12 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
13 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="jquery.js"></script>
15 <script type="text/javascript" src="dynsections.js"></script>
16 <script type="text/javascript" src="printComponentTabs.js"></script>
17 <script type="text/javascript" src="footer.js"></script>
18 <script type="text/javascript" src="navtree.js"></script>
19 <link href="navtree.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="resize.js"></script>
21 <script type="text/javascript" src="navtreedata.js"></script>
22 <script type="text/javascript" src="navtree.js"></script>
23 <link href="search/search.css" rel="stylesheet" type="text/css"/>
24 <script type="text/javascript" src="search/searchdata.js"></script>
25 <script type="text/javascript" src="search/search.js"></script>
26 <script type="text/javascript">
27 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
28   $(document).ready(function() { init_search(); });
29 /* @license-end */
30 </script>
31 <script type="text/javascript" src="darkmode_toggle.js"></script>
32 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
33 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
34 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
35 <link href="version.css" rel="stylesheet" type="text/css" />
36 <script type="text/javascript" src="../../../version.js"></script>
37 </head>
38 <body>
39 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <div id="titlearea">
41 <table cellspacing="0" cellpadding="0">
42  <tbody>
43  <tr style="height: 55px;">
44   <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
45   <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
46    <div id="projectname">CMSIS-RTOS2
47    &#160;<span id="projectnumber"><script type="text/javascript">
48      <!--
49      writeHeader.call(this);
50      writeVersionDropdown.call(this);
51      //-->
52     </script>
53    </span>
54    </div>
55    <div id="projectbrief">Real-Time Operating System API</div>
56   </td>
57    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
58         <span class="left">
59           <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
60           <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
61                onfocus="searchBox.OnSearchFieldFocus(true)" 
62                onblur="searchBox.OnSearchFieldFocus(false)" 
63                onkeyup="searchBox.OnSearchFieldChange(event)"/>
64           </span><span class="right">
65             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
66           </span>
67         </div>
68 </td>
69   <!--END !PROJECT_NAME-->
70  </tr>
71  </tbody>
72 </table>
73 </div>
74 <!-- end header part -->
75 <div id="CMSISnav" class="tabs1">
76   <ul class="tablist">
77     <script type="text/javascript">
78       writeComponentTabs.call(this);
79     </script>
80   </ul>
81 </div>
82 <script type="text/javascript">
83   writeSubComponentTabs.call(this);
84 </script>
85 <!-- Generated by Doxygen 1.9.6 -->
86 <script type="text/javascript">
87 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
88 var searchBox = new SearchBox("searchBox", "search/",'.html');
89 /* @license-end */
90 </script>
91 </div><!-- top -->
92 <div id="side-nav" class="ui-resizable side-nav-resizable">
93   <div id="nav-tree">
94     <div id="nav-tree-contents">
95       <div id="nav-sync" class="sync"></div>
96     </div>
97   </div>
98   <div id="splitbar" style="-moz-user-select:none;" 
99        class="ui-resizable-handle">
100   </div>
101 </div>
102 <script type="text/javascript">
103 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
104 $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
105 /* @license-end */
106 </script>
107 <div id="doc-content">
108 <!-- window showing the filter options -->
109 <div id="MSearchSelectWindow"
110      onmouseover="return searchBox.OnSearchSelectShow()"
111      onmouseout="return searchBox.OnSearchSelectHide()"
112      onkeydown="return searchBox.OnSearchSelectKey(event)">
113 </div>
114
115 <!-- iframe showing the search results (closed by default) -->
116 <div id="MSearchResultsWindow">
117 <div id="MSearchResults">
118 <div class="SRPage">
119 <div id="SRIndex">
120 <div id="SRResults"></div>
121 <div class="SRStatus" id="Loading">Loading...</div>
122 <div class="SRStatus" id="Searching">Searching...</div>
123 <div class="SRStatus" id="NoMatches">No Matches</div>
124 </div>
125 </div>
126 </div>
127 </div>
128
129 <div><div class="header">
130   <div class="headertitle"><div class="title">Overview </div></div>
131 </div><!--header-->
132 <div class="contents">
133 <div class="textblock"><p><a class="anchor" id="mainpage"></a> Modern embedded applications often need to concurrently execute multiple activities such as sensor readings, connectivity, machine-learning algorithms, graphics display and others. A real-time operating system (RTOS) equips users with necessary mechanisms that simplify implementation of complex programs and ensure their reliable operation with deterministic timing.</p>
134 <p>The <b>CMSIS-RTOS2</b> specifies a generic RTOS interface over real-time OS kernels running on Arm&reg; Cortex&reg; processor-based devices. Applications and middleware components can <a class="el" href="usingOS2.html">use CMSIS_RTOS2 API</a> for better code reuse and simpler integration in various software ecosystems.</p>
135 <p>CMSIS-RTOS2 also specifies a standard <a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick interface</a> for use by RTOS kernels. It provides several OS tick implementations for simple kernel porting to different Cortex-M and Cortex-A processors.</p>
136 <div class="image">
137 <img src="cmsis_rtos2_overview.png" alt=""/>
138 <div class="caption">
139 CMSIS-RTOS2 interface</div></div>
140     <h1><a class="anchor" id="rtos2_benefits"></a>
141 Benefits</h1>
142 <p>CMSIS-RTOS2 provides great benefits to the embedded developers and software vendors:</p>
143 <ul>
144 <li>The CMSIS-RTOS2 API covers all common services expected from a modern RTOS kernel for efficient thread management, inter-thread communication, timing control and others. See <a class="el" href="usingOS2.html#rtos2_functionalities">Functionality overview</a> for details.</li>
145 <li>The unified API increases developers' productivity and reduces learning efforts. It makes the software components reusable across different software stacks.</li>
146 <li>The API enables use of advanced CPU features by RTOS and application, such as secure/non-secure execution with TrustZone, multi-core operation, access protection with MPU, and others.</li>
147 <li>The C interface is binary compliant with the <a href="https://github.com/ARM-software/abi-aa/">Application Binary Interface (ABI) for Arm architecture</a> and enables inter-operation between various toolchains.</li>
148 <li><a class="el" href="rtosValidation.html">RTOS Validation Suite</a> provides a set of tests to verify compatibility to CMSIS-RTOS2 API definitions.</li>
149 <li>CMSIS-RTOS2 is well adopted by the industry, has many years of continuous improvements and commitment for future developments.</li>
150 </ul>
151 <dl class="section note"><dt>Note</dt><dd>The CMSIS-RTOS2 defines a minimum feature set. It's architecture allows to use advanced vendor-specific features directly as well.</dd></dl>
152 <h1><a class="anchor" id="rtos2_kernels"></a>
153 Supported RTOS kernels</h1>
154 <p>Several popular RTOS kernels include support for CMSIS-RTOS2 API:</p>
155 <p><b>CMSIS-RTX</b> (or Keil RTX5): provides most complete support for CMSIS-RTOS2 API and uses it as native interface. For more information see:</p><ul>
156 <li><a href="https://github.com/ARM-software/CMSIS-RTX">CMSIS-RTX GitHub repository</a></li>
157 <li><a href="https://arm-software.github.io/CMSIS-RTX/">CMSIS-RTX Documentation</a></li>
158 </ul>
159 <p><b>FreeRTOS</b> : this popular RTOS kernel is enabled with CMSIS-RTOS2 API in the <em>CMSIS-FreeRTOS</em> variant. To learn more see:</p><ul>
160 <li><a href="https://github.com/ARM-software/CMSIS-FreeRTOS">CMSIS-FreeRTOS GitHub repository</a></li>
161 <li><a href="https://arm-software.github.io/CMSIS-FreeRTOS/">CMSIS-FreeRTOS Documentation</a></li>
162 </ul>
163 <p><b>Zephyr RTOS</b>: is developed under governance of Linux Foundation and includes CMSIS-RTOS2 support. See more at:</p><ul>
164 <li><a href="https://github.com/zephyrproject-rtos/zephyr">Zephyr GitHub repository</a>, see folder <em>subsys/portability/cmsis_rtos_v2/</em></li>
165 <li><a href="https://docs.zephyrproject.org/latest/services/portability/cmsis_rtos_v2.html">Zephyr documentation about CMSIS-RTOS2 support</a></li>
166 </ul>
167 <h1><a class="anchor" id="rtos2_access"></a>
168 Access to CMSIS-RTOS2</h1>
169 <p>CMSIS-RTOS2 and OS Tick intefaces are actively maintained in <a href="https://github.com/ARM-software/CMSIS_6"><b>CMSIS 6 GitHub repository</b></a> and provided as part of the <a href="../../General/html/cmsis_pack.html">CMSIS Software Pack</a>.</p>
170 <p>The following files relevant to CMSIS-RTOS2 are present in the <b>ARM::CMSIS</b> Pack directories:</p>
171 <table class="markdownTable">
172 <tr class="markdownTableHead">
173 <th class="markdownTableHeadLeft">File/Directory   </th><th class="markdownTableHeadLeft">Content    </th></tr>
174 <tr class="markdownTableRowOdd">
175 <td class="markdownTableBodyLeft">📂 CMSIS   </td><td class="markdownTableBodyLeft">CMSIS Base software components folder    </td></tr>
176 <tr class="markdownTableRowEven">
177 <td class="markdownTableBodyLeft">┣ ðŸ“‚ Documentation/RTOS2   </td><td class="markdownTableBodyLeft">A local copy of this CMSIS-RTOS2 documentation    </td></tr>
178 <tr class="markdownTableRowOdd">
179 <td class="markdownTableBodyLeft">â”— ðŸ“‚ RTOS2   </td><td class="markdownTableBodyLeft">CMSIS-RTOS2 API header files and OS tick implementations    </td></tr>
180 <tr class="markdownTableRowEven">
181 <td class="markdownTableBodyLeft">&emsp;&#160; â”£ ðŸ“‚ Include   </td><td class="markdownTableBodyLeft">API header files    </td></tr>
182 <tr class="markdownTableRowOdd">
183 <td class="markdownTableBodyLeft">&emsp;&emsp;&#160; â”£ ðŸ“„ cmsis_os2.h   </td><td class="markdownTableBodyLeft"><a class="el" href="usingOS2.html#cmsis_os2_h">cmsis_os2.h API header file</a>    </td></tr>
184 <tr class="markdownTableRowEven">
185 <td class="markdownTableBodyLeft">&emsp;&emsp;&#160; â”— ðŸ“„ os_tick.h   </td><td class="markdownTableBodyLeft"><a class="el" href="group__CMSIS__RTOS__TickAPI.html">OS Tick API</a> header file    </td></tr>
186 <tr class="markdownTableRowOdd">
187 <td class="markdownTableBodyLeft">&emsp;&#160; â”— ðŸ“‚ Source   </td><td class="markdownTableBodyLeft">OS tick implementations    </td></tr>
188 <tr class="markdownTableRowEven">
189 <td class="markdownTableBodyLeft">&emsp;&emsp;&#160; â”£ ðŸ“„ os_systick.c   </td><td class="markdownTableBodyLeft">OS tick implementation using Cortex-M SysTick timer    </td></tr>
190 <tr class="markdownTableRowOdd">
191 <td class="markdownTableBodyLeft">&emsp;&emsp;&#160; â”£ ðŸ“„ os_tick_gtim.c   </td><td class="markdownTableBodyLeft">OS tick implementation using Cortex-A Generic Timer    </td></tr>
192 <tr class="markdownTableRowEven">
193 <td class="markdownTableBodyLeft">&emsp;&emsp;&#160; â”— ðŸ“„ os_tick_ptim.c   </td><td class="markdownTableBodyLeft">OS tick implementation using Cortex-A Private Timer   </td></tr>
194 </table>
195 </div></div><!-- PageDoc -->
196 </div><!-- contents -->
197 </div><!-- doc-content -->
198 <!-- start footer part -->
199 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
200   <ul>
201     <li class="footer">
202       <script type="text/javascript">
203         <!--
204         writeFooter.call(this);
205         //-->
206       </script> 
207     </li>
208   </ul>
209 </div>
210 </body>
211 </html>