brtos-20100802

所属分类:其他嵌入式/单片机内容
开发工具:C++
文件大小:1913KB
下载次数:8
上传日期:2013-02-26 23:59:22
上 传 者mba123
说明:  RTOS free for msp430

文件列表:
trunk (0, 2010-08-02)
trunk\.svn (0, 2010-08-02)
trunk\.svn\all-wcprops (714, 2010-08-02)
trunk\.svn\entries (1583, 2010-08-02)
trunk\.svn\prop-base (0, 2010-08-02)
trunk\.svn\prop-base\app.c.svn-base (34, 2010-08-02)
trunk\.svn\prop-base\brtos.c.svn-base (34, 2010-08-02)
trunk\.svn\prop-base\brtos.h.svn-base (34, 2010-08-02)
trunk\.svn\prop-base\libiconv2.dll.svn-base (53, 2010-08-02)
trunk\.svn\prop-base\libintl3.dll.svn-base (53, 2010-08-02)
trunk\.svn\prop-base\make.exe.svn-base (53, 2010-08-02)
trunk\.svn\prop-base\Makefile.svn-base (34, 2010-08-02)
trunk\.svn\props (0, 2010-08-02)
trunk\.svn\text-base (0, 2010-08-02)
trunk\.svn\text-base\app.c.svn-base (2614, 2010-08-02)
trunk\.svn\text-base\brtos.c.svn-base (15696, 2010-08-02)
trunk\.svn\text-base\brtos.h.svn-base (3582, 2010-08-02)
trunk\.svn\text-base\libiconv2.dll.svn-base (978432, 2010-08-02)
trunk\.svn\text-base\libintl3.dll.svn-base (103424, 2010-08-02)
trunk\.svn\text-base\make.exe.svn-base (175104, 2010-08-02)
trunk\.svn\text-base\Makefile.svn-base (763, 2010-08-02)
trunk\.svn\tmp (0, 2010-08-02)
trunk\.svn\tmp\prop-base (0, 2010-08-02)
trunk\.svn\tmp\props (0, 2010-08-02)
trunk\.svn\tmp\text-base (0, 2010-08-02)
trunk\app.c (2690, 2010-08-02)
trunk\brtos.c (16173, 2010-08-02)
trunk\brtos.h (3667, 2010-08-02)
trunk\doc (0, 2010-08-02)
trunk\doc\.svn (0, 2010-08-02)
trunk\doc\.svn\all-wcprops (246, 2010-08-02)
trunk\doc\.svn\entries (594, 2010-08-02)
trunk\doc\.svn\prop-base (0, 2010-08-02)
trunk\doc\.svn\prop-base\brtos.chm.svn-base (53, 2010-08-02)
trunk\doc\.svn\prop-base\brtos.doxygen.svn-base (34, 2010-08-02)
trunk\doc\.svn\props (0, 2010-08-02)
trunk\doc\.svn\text-base (0, 2010-08-02)
trunk\doc\.svn\text-base\brtos.chm.svn-base (112838, 2010-08-02)
... ...

/** \mainpage Basic RTOS

Marcelo Barros de Almeida

marcelobarrosalmeida@gmail.com

http://code.google.com/p/basicrtos/

\section SECDESC Description Basic RTOS (BRTOS) is a non-preemptive real time operating system for MSP430 microcontrollers. Main features: - Non-preemptive - Round robin as task scheduling - Tasks with time slice support - Interrupts are not handled by BRTOS at this moment (user must disable interrupts when running an interrupt routine) Current limitations: - Only support MSP430 - Task priorities are not implemented yet - Timers and semaphores not implemented yet \section SECDUSING Using Basic RTOS - Download a copy of MSPGCC compiler for your host system: http://mspgcc.sourceforge.net/ - You will need to run make. Download a copy of Unix Tools for Windows: http://sourceforge.net/projects/unxutils/ - Define your tasks inside \ref BRTOS_Application_Initialize() (see file \ref app.c for examples) - Check your board clock. We are assuming a 1MHz clock and clock source as MCLK. See \ref BRTOS_ConfigureClock() and BRTOS_Initialize(). - Go to brtos directory and type make to compile the code. Download it to your board. \section SECDCRED Credits Original author: Marcelo Barros de Almeida \section SECLIC License Copyright 2005- Marcelo Barros de Almeida. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE BASIC RTOS PROJECT ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE BASIC RTOS PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the Basic RTOS Project. */

近期下载者

相关文件


收藏者