This is an old revision of the document!


No such revision

The specified revision doesn't exist. Click on “Old revisions” for a list of old revisions of this document.

This is an old revision of the document!


ChibiOS/LIB

ChibiOS/LIB is an RTOS extension library. This library can be added on top of RT and NIL kernels increasing the core RTOS functionality with higher level mechanisms.

In Brief

  • Entirely portable, no dependencies on architecture nor compilers.
  • Can enhance RT and NIL with high level constructs.
  • Clean code base.
  • The commercial version can be used on RT and NIL, no need to purchase it twice.

Added Functionalities

For a detailed description of functionalities please refer to the reference manuals, in brief:

Binary Semaphores

Two states semaphores. An useful variant of counter semaphores.

Mailboxes

Queues of messages between Thread/ISR and Thread/ISR, messages are pointer-sized variables.

Pipes

Character queues between threads.

Object FIFOs

Copy-less xxchange of fixed-size messages between Thread/ISR and Thread/ISR. Messages can have any size.

Core Allocator

A very fast way to allocate memory blocks from a global heap.

Heap Allocator

The classic alloc/free of variable-size memory blocks.

Pool Allocator

An efficient way to allocate/free fixed-size blocks.

Objects Factory

A way to allocate kernel objects or custom objects dynamically, objects are assigned a name and can be used by reference or by name. Objects have a reference counter and disappear when the last reference is release.

RT Performance

Fastest RTOS? Reasons for this statement and performance data.

learn more

RT vs NIL

Features comparison and use cases.

learn more