Best way to use RTEMS in existing project

Sebastian Huber sebastian.huber at
Fri May 19 06:03:03 UTC 2017


On 18/05/17 12:20, Olivier C. Larocque wrote:
> Hi everyone,
> I have a project using Eclipse and System Workbench for STM32 (GNU ARM
> embedded toolchain) targeting a STM32F446 microcontroller. I am using
> a proprietary RTOS right now and would like to swap it for RTEMS so I
> can open source my work.
> I went through RTEMS documentation and did some tests to familiarize
> myself with RTEMS build system and how it handles BSPs.
> What I need to know is what is the best way to proceed.
> Do I need to use the complete RTEMS build system or I can add the core
> RTEMS OS files into my project and make the Eclipse build system
> manage them like I was doing with my other RTOS?

there is an RTEMS plug-in for Eclipse that used to work with an ancient 
version of Eclipse. Unfortunately it doesn't work with newer versions of 
CDT due to API incompatibilities. I was not really satisfied with the 
automatically generated build stuff from Eclipse. It worked well in 
simple scenarios, but not for larger distributed projects.

I would use waf to build the application. This should work with Eclipse 
if you disable the automatic builder.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list