RainbowBS Manual: Chapter1 Introduction

RainbowBS

RainbowBS Manual  v0.1.0
Written by QWQ([email protected])
Chapter1 Introduction

What is RainbowBS

RainbowBS(RBS) is an open-source base library developed for embedded systems especially with limit resources.

RBS is written by C language in compliance with the ISO/IEC 9899:1999 standard and it is set-up to be highly portable.Therefore it is independent of hardware architecture and can be incorporated into low cost micro-controllers like 8051,AVR,PIC,ARM and etc...,just with small porting code.

This document shows you how to configure and use RBS.

Following diagram shows the RBS position in the entire software architecture:

RBS_App.png
RBS in Application

Following diagram shows the RBS architecture:

RBS_Arc.png
RBS Architecture

RainbowBS Features

  • Hardware Features
    • Any 8/16/32 bits CPU can use it.
    • One timer and very little flash and RAM needed.
  • Software Features
    • Portable:RBS is written by C language,so it is portable on any C compiler compatible with the C99 standard.
    • Configurable:RBS has base components and optional advanced components listed below.
Basic TypeBasic MacrosSystem/CPU Info.Memory OperationConversion related
base base base base base
Debug Dynamic Memory ManagementProtothread Process ModelOS support
optional optional optional optional
  • OS Independence:RBS can run with or without OS support.It offers thread-safety feature for OS.
  • PC Tools:RAutoConfig for generating configurable file by UI.

Requirements

  1. Only CPU,timer,RAM and flash are necessary in the target system.
  2. The C compiler compatible with the ISO/IEC 9899:1999 standard(C99).

Licence

RainbowBS is an open-source base library for embedded systems. This is a free software and opened for education,research and commercial developments under license policy of following terms.

Copyright © 2015-2016 QWQ(jacob.nosp@m.qwq@.nosp@m.iclou.nosp@m.d.co.nosp@m.m). All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • 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.
  • The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDERS AND 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.


Conventions

Following conventions are used in this document

  • text used for normal text
  • item used for item
  • emphasize bold font used to emphasize
  • printf() used for code quotes
Generated by   doxygen 1.8.9.1