Best way to use RTEMS in existing project

Olivier C. Larocque oclarocque at gmail.com
Fri May 19 09:55:37 UTC 2017


On Fri, May 19, 2017 at 8:03 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> Hello,
>
> 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.

Thanks for your input on that. I was to give the plug-in a try but now will not.

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

Okay, I'll read on waf to see how it works. Do people sometimes use
the RTEMS build system to build their application code? I saw a
tutorial to build RTEMS from Eclipse, but figured out it was for the
OS and BSP development only and not for application code.

Ref: ftp://ftp.rtems.org/pub/rtems/people/chrisj/docs/eclipse/rtems.html

> --
> 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 embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>

Thanks

Olivier



More information about the users mailing list