You are viewing an older revision! See the latest version

CMSIS RTOS

Table of Contents

    The CMSIS-RTOS library provides a scheduler to run concurrently multiple threads of execution and methods for the exchange of data among these threads.

    CMSIS-RTOS Library URL: http://mbed.org/projects/libraries-testing/svn/rtos

    Thread

    [Not converted]

    Mutex

    /media/uploads/emilmont/mutex.png

    [Not converted]

    Semaphore

    /media/uploads/emilmont/semaphore.png

    [Not converted]

    Signals

    [Not converted]

    Message Queue

    /media/uploads/emilmont/messagequeue.png

    Memory Pool

    [Not converted]

    Mail Queue

    /media/uploads/emilmont/mailqueue.png

    [Not converted]

    Timer

    [Not converted]

    Interrupt Service Routines

    [Not converted]

    Stack Configuration

    The stack configuration is very dependent from the underling CMSIS-RTOS implementation.

    As first reference implementation we are using RTX. One of the limitation of the RTX implementation is that it requires to statically configure the maximum number of threads and the size of the memory pool for their stacks.

    Our initial RTX configuration choices are likely to change in response to the mbed users feedback:

    mbed NXP LPC11U24mbed NXP LPC1768
    Max number of user threads + (timer)3 + (1)7 + (1)
    Default stack size in bytes0.5 Kb1 Kb

    RAM Usage

    Importing the rtos library you will immediately consume 25% of the available RAM on your mbed for stack usage.

    This limitation is likely to disappear in the future CMSIS-RTOS implementations adopted by mbed.


    All wikipages