Topic : Building FreeRTOS project

Forum : Ride IDE

Original Post
Post Information Post
March 13, 2020 - 3:53pm
Sylvain LAURENT

Hi,

I would build an application using FreeRTOS from STM32cubeMX.

And I have multiple error that concern "static portFORCE_INLINE ..." functions in portmacro.h.

The compiler doesn't recognize "#define portFORCE_INLINE __forceinline".

Is there an option or someone else to resolve this problem ?

Replies
Post Information Post
+1
0
-1
March 19, 2020 - 10:15am
vincent choplin

Hello,

This looks like a conflict in compile tools (compiler): Ride builds using gcc, who doesn't know __forceinline

portmacro.h should contain some #if that allow to select the compiler. I suggest you check that you give them what they expect.

Did you follow the procedure for using Cube projects in Ride? (i.e. generate project for Keil and then open Keil project in Ride)

Best Regards,

Vincent