Error compiling freeRTOS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error compiling freeRTOS

2,089 Views
mrajanna
Contributor V

Hi,

I created freeRTOS sample and then added CAN driver using processor expert.

While compiling the project, I am encountering with below error.

C:/NXP/S32DS_ARM_v2.0/S32DS/S32SDK_S32K14x_EAR_0.8.4/rtos/osif/osif_freertos.c:65:2: error: #error "Wrong OSIF selected. Please define symbol USING_OS_FREERTOS in project settings or change the OSIF variant"

Whether someone has come across this error ?

Thanks

Mohan

2 Replies

1,538 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can do exactly what is suggested in the error message - define USING_OS_FREERTOS. You can do that in project properties. 

pastedImage_1.png

Jiri

1,538 Views
mrajanna
Contributor V

Thanks Jiri. It worked.