A Bug of S32DS and SDK(FreeRTOS 1.0.0.202108310250)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

A Bug of S32DS and SDK(FreeRTOS 1.0.0.202108310250)

跳至解决方案
1,844 次查看
JustVb
Contributor III

I use Configuration Tools to config osif module and set "Operation System Type" as FreeRTOS and and OS module. 

Then the Macro "USING_OS_FREERTOS" was defined both  in the generated code "OsIf_Cfg.h" and in build tool settings, which led to complie warning

JustVb_3-1639808019539.png

JustVb_1-1639807854217.png

JustVb_0-1639807741160.png

 

JustVb_2-1639807865024.png

 

 

标记 (1)
0 项奖励
1 解答
1,690 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello @JustVb,

I've got your situation. Let me discuss with the team to find out the appropriate way to integrate. Thanks for your report.

Best Regards,

Nam

在原帖中查看解决方案

0 项奖励
9 回复数
1,763 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello @JustVb,

It's a good video, however please share me your project (FreeRTOS_test), so that I can import to my S32DS and test it. It would be easier for me than looking into the video. You just need to archive the project and share via here.

Best Regards,

Nam

0 项奖励
1,749 次查看
JustVb
Contributor III

helle,namnguyenviet,

here is the test project.I wish you would replay it, thanks.

Best Regards.

0 项奖励
1,726 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello @JustVb,

I have removed all of the redundant symbol in "Path and Setting". Basically, I just click to "Remove" button and then "Apply". I have attached the project after fixed.

Best Regards,

Nam

0 项奖励
1,707 次查看
JustVb
Contributor III

hello, namnguyenviet:

  did you try to use the "configuration tools" to re-generate code?

when I regenerated code, the macro definition came back again.

0 项奖励
1,691 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello @JustVb,

I've got your situation. Let me discuss with the team to find out the appropriate way to integrate. Thanks for your report.

Best Regards,

Nam

0 项奖励
1,792 次查看
namnguyenviet
NXP Employee
NXP Employee

In that case, please share me the project. I will double check in my site.

Best Regards,

Nam

0 项奖励
1,784 次查看
JustVb
Contributor III

Thanks for your reply, the attachment is the screen record of the operation details.

Best Regards!

0 项奖励
1,807 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Then you need to remove the definition in the "Path and symbol" setting. Normally it shall be modified by users.

Best Regards,

Nam

0 项奖励
1,801 次查看
JustVb
Contributor III

II removed the definition in the "Path and symbol" setting,but the configuration tools will add it back when I generate code again

0 项奖励