FreeRTOS ST32F303 HerlloWorld

ftsi wrote on Saturday, May 25, 2019:

Hi
as you can understand from the title i’m new both in the forum and in FreeRTOS. I’m using Eclipse with the nucleo ST32F303 RE. unfortunatly I have found issues during the compilation with a main empty. So with a main quite empty, i’m including the differents folders and files. My goal is only to create an empty project and me sure that all files and folders are right connected each other and the compilatinon and build is success.

#include "stm32f30x.h"
int main(void)
{
    for(;;);
}

The error is :

D:/Workspace/RTOS_workspace/STM32_HelloWorld/Third-Party/FreeRTOS/ong/Source/portable/GCC/ARM_CM3/portmacro.h:53:23: error: missing binary operator before token "long"
 #define portBASE_TYPE long

Thanks in advance
Fausto Tromba

ftsi wrote on Saturday, May 25, 2019:

I solved the issue. in case someone has the same problem, following the link:
https://www.freertos.org/FreeRTOS_Support_Forum_Archive/October_2014/freertos_FreeRTOS_V812_portmacro.h_missing_binary_operator_before_token_long_bffa0f71j.html