In "S32 Design Studio for ARM" add FreeRTOS ,then compile Failed

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

In "S32 Design Studio for ARM" add FreeRTOS ,then compile Failed

Jump to solution
772 Views
anjingzhang
Contributor I

In my project of S32144,

Later I tried to add FreeRTOS, then I compile the project.

In console window, it shows: 

../SDK/rtos/osif/osif_baremetal.c:58:2: error: #error "Wrong OSIF selected. Please define symbol USING_OS_BAREMETAL (or no OS define) in project settings or change the OSIF variant"

But I have added the USING_OS_BAREMETAL in project setting.

Why did it happend? What should I do?

屏幕截图 2022-12-05 170432.png屏幕截图 2022-12-05 171048.png

0 Kudos
1 Solution
757 Views
anjingzhang
Contributor I

I choose use FreeRTOS. Disabled all the code in file osif_baremetal.c , then everthing is fine. I got the effect what I wanted.

View solution in original post

1 Reply
758 Views
anjingzhang
Contributor I

I choose use FreeRTOS. Disabled all the code in file osif_baremetal.c , then everthing is fine. I got the effect what I wanted.