309 lines
11 KiB
HTML
309 lines
11 KiB
HTML
|
|
|
||
|
|
|
||
|
|
<!DOCTYPE html>
|
||
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
||
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
|
||
|
|
<title>FreeRTOS Support Overview — C2000Ware FreeRTOS User Guide</title>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="shortcut icon" href="_static/tiicon.ico"/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="stylesheet" href="_static/theme_overrides.css" type="text/css" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="index" title="Index"
|
||
|
|
href="genindex.html"/>
|
||
|
|
<link rel="search" title="Search" href="search.html"/>
|
||
|
|
<link rel="top" title="C2000Ware FreeRTOS User Guide" href="index.html"/>
|
||
|
|
<link rel="prev" title="Texas Instruments C2000Ware FreeRTOS Support" href="index.html"/>
|
||
|
|
|
||
|
|
|
||
|
|
<script src="_static/js/modernizr.min.js"></script>
|
||
|
|
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body class="wy-body-for-nav" role="document">
|
||
|
|
<header id="tiHeader">
|
||
|
|
<div class="top">
|
||
|
|
<ul>
|
||
|
|
<li id="top_logo">
|
||
|
|
<a href="http://www.ti.com">
|
||
|
|
<img src="_static/img/ti_logo.png"/>
|
||
|
|
</a>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<div class="nav"></div>
|
||
|
|
</header>
|
||
|
|
<div class="wy-grid-for-nav">
|
||
|
|
|
||
|
|
|
||
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||
|
|
<div class="wy-side-scroll">
|
||
|
|
<div class="wy-side-nav-search">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<a href="index.html" class="icon icon-home"> C2000Ware FreeRTOS User Guide
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</a>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div class="version">
|
||
|
|
v4.02.00.00
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div role="search">
|
||
|
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||
|
|
<input type="text" name="q" placeholder="Search docs" />
|
||
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
||
|
|
<input type="hidden" name="area" value="default" />
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ul class="current">
|
||
|
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">FreeRTOS Support Overview</a><ul>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="#features-supported">Features Supported</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="#features-not-supported">Features NOT Supported</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="#important-files-and-directory-structure">Important files and directory structure</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="#tool-chain-support">Tool Chain Support</a></li>
|
||
|
|
<li class="toctree-l2"><a class="reference internal" href="#additional-references">Additional references</a></li>
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</nav>
|
||
|
|
|
||
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||
|
|
|
||
|
|
|
||
|
|
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
||
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
|
|
<a href="index.html">C2000Ware FreeRTOS User Guide</a>
|
||
|
|
</nav>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div class="wy-nav-content">
|
||
|
|
<div class="rst-content">
|
||
|
|
<div role="navigation" aria-label="Page navigation">
|
||
|
|
<ul class="wy-breadcrumbs">
|
||
|
|
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
||
|
|
<li>FreeRTOS Support Overview</li>
|
||
|
|
<li class="wy-breadcrumbs-aside">
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
<hr/>
|
||
|
|
</div>
|
||
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||
|
|
<div itemprop="articleBody">
|
||
|
|
|
||
|
|
<div class="section" id="freertos-support-overview">
|
||
|
|
<span id="intro"></span><h1>FreeRTOS Support Overview<a class="headerlink" href="#freertos-support-overview" title="Permalink to this headline">¶</a></h1>
|
||
|
|
<p>FreeRTOS is a market-leading real-time operating system (RTOS) for microcontrollers and small microprocessors. Distributed freely under the MIT open source license, FreeRTOS includes a kernel and a growing set of libraries suitable for use across all industry sectors. FreeRTOS is built with an emphasis on reliability and ease of use.</p>
|
||
|
|
<p>C2000Ware SDK supports FreeRTOS on C28x and Cortex-M4(CM) cores.</p>
|
||
|
|
<div class="section" id="features-supported">
|
||
|
|
<h2>Features Supported<a class="headerlink" href="#features-supported" title="Permalink to this headline">¶</a></h2>
|
||
|
|
<ul class="simple">
|
||
|
|
<li><dl class="simple">
|
||
|
|
<dt>FreeRTOS Kernel</dt><dd><ul>
|
||
|
|
<li><p>Tasks, semaphores, mutex, queues, timers, list, heap, event groups</p></li>
|
||
|
|
<li><p>preemptive priority based scheduler</p></li>
|
||
|
|
<li><p>static and/or dynamic memory allocation mode</p></li>
|
||
|
|
<li><p>fpu32 and fpu64 support in the port</p></li>
|
||
|
|
</ul>
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
</li>
|
||
|
|
<li><dl class="simple">
|
||
|
|
<dt>Sysconfig Support</dt><dd><ul>
|
||
|
|
<li><p>SysConfig can be used to configure kernel constructs along with the tick timer configuration</p></li>
|
||
|
|
<li><p>Available for c28x only</p></li>
|
||
|
|
</ul>
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<div class="section" id="features-not-supported">
|
||
|
|
<h2>Features NOT Supported<a class="headerlink" href="#features-not-supported" title="Permalink to this headline">¶</a></h2>
|
||
|
|
<ul class="simple">
|
||
|
|
<li><p>Support for Port Optimised Task Selection in not available in c28x port</p></li>
|
||
|
|
<li><p>Syscfg support is not available for CM examples</p></li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<div class="section" id="important-files-and-directory-structure">
|
||
|
|
<h2>Important files and directory structure<a class="headerlink" href="#important-files-and-directory-structure" title="Permalink to this headline">¶</a></h2>
|
||
|
|
<dl class="simple">
|
||
|
|
<dt>FreeRTOS source is distributed along with C2000Ware SDK and given below are some important files and folders related to FreeRTOS.</dt><dd><ul class="simple">
|
||
|
|
<li><p>FreeRTOS kernel : <C2000Ware root>/kernel/FreeRTOS/Source</p></li>
|
||
|
|
<li><p>FreeRTOS C28x port : <C2000Ware root>/kernel/FreeRTOS/Source/portable/CCS/C2000_C28x</p></li>
|
||
|
|
<li><p>FreeRTOS CM port : <C2000Ware root>/kernel/FreeRTOS/Source/portable/CCS/ARM_CM4</p></li>
|
||
|
|
<li><p>FreeRTOS Demos: <C2000Ware root>/kernel/FreeRTOS/Demo</p></li>
|
||
|
|
</ul>
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
</div>
|
||
|
|
<div class="section" id="tool-chain-support">
|
||
|
|
<h2>Tool Chain Support<a class="headerlink" href="#tool-chain-support" title="Permalink to this headline">¶</a></h2>
|
||
|
|
<ul class="simple">
|
||
|
|
<li><p>Code Composer Studio™ IDE (CCS) v11.1.0 or newer</p></li>
|
||
|
|
<li><p>C2000 Compiler v20.2.1.LTS or newer</p></li>
|
||
|
|
<li><p>C2000Ware_3_01_00_00 or newer</p></li>
|
||
|
|
<li><p>FreeRTOSv202112.00</p></li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<div class="section" id="additional-references">
|
||
|
|
<h2>Additional references<a class="headerlink" href="#additional-references" title="Permalink to this headline">¶</a></h2>
|
||
|
|
<p>Given below are some references to learn more about FreeRTOS.
|
||
|
|
- Easy to read FreeRTOS book: <a class="reference external" href="https://www.freertos.org/Documentation/RTOS_book.html">https://www.freertos.org/Documentation/RTOS_book.html</a>
|
||
|
|
- FreeRTOS user docs: <a class="reference external" href="https://www.freertos.org/features.html">https://www.freertos.org/features.html</a>
|
||
|
|
- User API reference: <a class="reference external" href="https://www.freertos.org/a00106.html">https://www.freertos.org/a00106.html</a>
|
||
|
|
- FreeRTOS core kernel source code: <a class="reference external" href="https://github.com/FreeRTOS/FreeRTOS-Kernel">https://github.com/FreeRTOS/FreeRTOS-Kernel</a>
|
||
|
|
- FreeRTOS core kernel example source code: <a class="reference external" href="https://github.com/FreeRTOS/FreeRTOS/tree/master/FreeRTOS">https://github.com/FreeRTOS/FreeRTOS/tree/master/FreeRTOS</a></p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||
|
|
<a href="index.html" class="btn btn-neutral float-left" title="Texas Instruments C2000Ware FreeRTOS Support" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<hr/>
|
||
|
|
|
||
|
|
<div role="contentinfo">
|
||
|
|
<p>© Copyright 2020, Texas Instruments Incorporated.
|
||
|
|
<span class="lastupdated">Last updated on Feb 02, 2023.
|
||
|
|
</span></p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</footer>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
var DOCUMENTATION_OPTIONS = {
|
||
|
|
URL_ROOT:'./',
|
||
|
|
VERSION:'v4.01.00.00',
|
||
|
|
COLLAPSE_INDEX:false,
|
||
|
|
FILE_SUFFIX:'.html',
|
||
|
|
HAS_SOURCE: false,
|
||
|
|
SOURCELINK_SUFFIX: '.txt'
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
||
|
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
||
|
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
||
|
|
<script type="text/javascript" src="_static/language_data.js"></script>
|
||
|
|
|
||
|
|
<script type="text/javascript" src="_static/searchtools.js"></script>
|
||
|
|
<script src="http://www.ti.com/assets/js/headerfooter/analytics.js" type="text/javascript" charset="utf-8"></script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<script type="text/javascript" src="_static/js/theme.js"></script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
jQuery(function () {
|
||
|
|
SphinxRtdTheme.StickyNav.enable();
|
||
|
|
});
|
||
|
|
|
||
|
|
var menuHeight = window.innerHeight;
|
||
|
|
|
||
|
|
var contentOffset = $(".wy-nav-content-wrap").offset();
|
||
|
|
var contentHeight = $(".wy-nav-content-wrap").height();
|
||
|
|
var contentBottom = contentOffset.top + contentHeight;
|
||
|
|
|
||
|
|
function setNavbarTop() {
|
||
|
|
var scrollTop = $(window).scrollTop();
|
||
|
|
var maxTop = scrollTop + menuHeight;
|
||
|
|
|
||
|
|
// If past the header
|
||
|
|
if (scrollTop > contentOffset.top && maxTop < contentBottom) {
|
||
|
|
stickyTop = scrollTop - contentOffset.top;
|
||
|
|
} else if (maxTop > contentBottom) {
|
||
|
|
stickyTop = scrollTop - contentOffset.top - (maxTop - contentBottom);
|
||
|
|
} else {
|
||
|
|
stickyTop = 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
$(".wy-nav-side").css("top", stickyTop);
|
||
|
|
}
|
||
|
|
|
||
|
|
$(document).ready(function() {
|
||
|
|
setNavbarTop();
|
||
|
|
$(window).scroll(function () {
|
||
|
|
setNavbarTop();
|
||
|
|
});
|
||
|
|
|
||
|
|
$('body').on("mousewheel", function () {
|
||
|
|
// Remove default behavior
|
||
|
|
event.preventDefault();
|
||
|
|
// Scroll without smoothing
|
||
|
|
var wheelDelta = event.wheelDelta;
|
||
|
|
var currentScrollPosition = window.pageYOffset;
|
||
|
|
window.scrollTo(0, currentScrollPosition - wheelDelta);
|
||
|
|
});
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|