cancel
Showing results for 
Search instead for 
Did you mean: 

Real Time OS on STM8S

Nickname12882_O
Associate II
Posted on June 01, 2010 at 12:45

Real Time OS on STM8S

#rtos #osa #stm8
8 REPLIES 8
Nickname13198_O
Associate II
Posted on May 17, 2011 at 15:08

Sorry, the original message was posted with another acount (system bug). Actually it's me who wrtote this message.

disirio2
Senior
Posted on May 17, 2011 at 15:09

In a small device like the STM8 an OS is not something you install, it is often a binary library or source code that you have to include in your project. Application and OS form a single binary image that is then loaded on the device.

BTW, there are more than the two RTOS you mentioned, the one in my signature as example :) and also others.

Giovanni

---

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

Nickname13198_O
Associate II
Posted on May 17, 2011 at 15:09

OK ! Thanks for your fast answer !

I'll try to use Chibios, and I'll post here the results I'll obtain.

best regards,

Phil

daviddavid941
Associate II
Posted on May 17, 2011 at 15:09

Hi Phil,

If you are using one of the Cosmic or IAR compilers, you may also be interested in Atomthreads (a free RTOS which I have ported to STM8): http://athomthreads.com

Best regards,

Kelvin.

Nickname13198_O
Associate II
Posted on May 17, 2011 at 15:09

Hi Kelvin,

Thank You for your answer, I'll also try your OS, but jut one question: will You port your kernel to the STM32 plateform ? If yes, it could be very interesting for my team and me.

Best regards,

Phil

daviddavid941
Associate II
Posted on May 17, 2011 at 15:09

Hi Phil,

Yes, I have an STM3210 eval board here in preparation for the STM32 port. We are planning a generic Cortex M3 port with a minor driver layer to handle different M3 devices such as the STM32.

Thanks,

Kelvin.

testerplus
Associate
Posted on May 17, 2011 at 15:09

Hello!

http://www.pic24.ru/doku.php/en/osa/ref/intro

is a free (under BSD license) open source cooperative RTOS for STM8 microcontrollers (also PIC and AVR).

Support compilers for STM8:

  • IAR
  • Cosmic
  • Raisonance
Limitations:

  • only chips with ROM 64K and less are supported
  • for IAR: cross-call optimisation should be turned OFF
RTOS features:

  • cooperative (can be ran on very low RAM chips)
  • priorities
  • semaphores (counting and binary)
  • messages (pointers and simple one-byte messages to reduce RAM usage)
  • queues
  • user timers
  • flags

http://www.pic24.ru/doku.php/en/osa/ref/download/intro

http://www.pic24.ru/doku.php/en/osa/ref/intro

Best regards, Victor.

P.S. if you have any questions you can mail me osa@pic24.ru

np1
Associate II
Posted on May 07, 2012 at 11:17

Hi Kelvin,

Have you got any example using your RTOS with IAR tool? I try to using this RTOS for stm8l151.

Thanks and best regards

Thinh