cancel
Showing results for 
Search instead for 
Did you mean: 

New RTOS available for the STM32 family

disirio
Associate II

Posted on January 31, 2009 at 07:23

New RTOS available for the STM32 family

9 REPLIES 9
disirio
Associate II
Posted on May 17, 2011 at 12:36

Hello,

I completed the ChibiOS/RT port on STM32, ChibiOS/RT it is free software (GPL3 license) and can be downloaded from the project page on sourceforge:

http://sourceforge.net/projects/chibios/

The documentation is available online here:

http://chibios.sourceforge.net/

The STM32 runs really well under the RTOS and is capable to perform a context switch under 3 microseconds, it greatly outperforms the older ARM7 micro controllers.

The port includes a demo application that runs on the cheap Olimex STM32-P103 board.

Best Regards,

Giovanni

16-32micros
Associate III
Posted on May 17, 2011 at 12:36

Hi Giovanni,

This is Great ! Thanks to make it happen for the STM32 free community and users. Did you have some benchmark data vs commercial RTOS like µCOSII and others in terms of numbers of tasks , footprint etc... Thank you gain.

Cheers,

STOne-32.

disirio
Associate II
Posted on May 17, 2011 at 12:36

I did run some benchmark vs other ARM micro controllers, the tests also include the memory footprint data. You can see the data in this thread:

http://forum.sparkfun.com/viewtopic.php?t=10870

As you can see on the STM32 the whole kernel takes just 4.5KB vs the 6.5KB required for a normal ARM7 micro controller, the STM32 also clearly outperforms them as pure speed.

The kernel size can shrink down to 1.5KB by disabling some subsystems, most applications do not require all the features enabled.

The RTOS itself has no upper limit for threads, semaphores etc, the real limit is the available memory. Each thread just requires about 56 bytes of RAM + the space required for its stack.

I cannot run direct comparisons vs other OS because there are differences in the API/architecture and one could argue the tests would be biased, however I think ChibiOS/RT is well positioned as features, footprint and performance.

regards,

Giovanni

disirio
Associate II
Posted on May 17, 2011 at 12:36

Hello,

just a head up, the new version 0.6.6 has been released, it includes an important fix to the STM32 USART-1 driver. USART-2 and USART-3 drivers were unaffected.

regards,

Giovanni

---

ChibiOS/RT

http://chibios.sourceforge.net/

danielya
Associate II
Posted on May 17, 2011 at 12:36

Is it possible to make documentation available off-line, as a separate

file?

Thank you very much.

disirio
Associate II
Posted on May 17, 2011 at 12:36

The same documentation you can see on the web site is also present in the source code distribution under the directory ./docs/html the file is index.html.

You can browse it locally.

regards,

Giovanni

[ This message was edited by: disirio on 27-06-2008 17:23 ]

disirio
Associate II
Posted on May 17, 2011 at 12:36

Hello, please forgive me if I bump this thread up.

I am pleased to announce that the first ChibiOS/RT stable version 1.0.0 has been released. This release has some STM32-related improvements and adds a linking exception to the GPL license that allows for commercial use.

regards,

Giovanni

---

ChibiOS/RT

http://chibios.sourceforge.net

disirio2
Senior
Posted on May 17, 2011 at 12:36

Hello,

A small update about ChibiOS/RT for the STM32 users. In the latest released development version 1.5.5 a new Cortex-M3 port layer increased the already good context switch performance by 18%.

Included with the OS there are several native STM32 drivers in the RTOS HAL: SPI/dma, ADC/dma, buffered USART/UART, PWM, GPIO, CAN.

More info about the RTOS features are available in this page:

http://chibios.sourceforge.net/matrix.html

Benchmarks, test and coverage reports are available in this page:

http://chibios.sourceforge.net/benchmarks.html

The RTOS has also been ported to the STM8 and SPC56x families.

Giovanni

---

ChibiOS/RT http://chibios.sourceforge.net

disirio2
Senior
Posted on May 17, 2011 at 12:36

May be this is a bit late 🙂 but now a third-party has benchmarked the system so I can post some actual data, you may see the results here:

http://www.yagarto.de/projects/rtoscomp/index.html

Giovanni