NXP RTOS Tresos code generation error

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

NXP RTOS Tresos code generation error

跳至解决方案
739 次查看
eusebiudapatech
Contributor II

Hello,

While trying to generate the code for the configuration I preapred in Tresos, I've got the following errors related to OS module:

eusebiudapatech_0-1743102103206.png

I'm using the EB tresos 29.3.0 and S32K3xx_M7_NXP_RTOS_4_7_184_CODEDROP_0_4_3_D2411. The project is configured for S32K312 MCU.

Do you know where should I define that 'NS_PER_SW_TICK' attribute? Or do you know if there is another error which is masked?

0 项奖励
回复
1 解答
688 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Looking at the example project I can see:

petervlna_0-1743410611579.png

I have never worked with this NXP OS, but I can see the timer is chosen in General setting of OS plugin:

petervlna_1-1743411085147.png

Have a detailed look at the example codes which are part of OS plugin.

Best regards,

Peter

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
720 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I expect that it is some parameter in OS plugin as manual express:

petervlna_0-1743147066609.png

petervlna_1-1743147473127.png

But I do not se it in OsCounter I have created. You can click on the issue to be linked on missing definition in Tresos.

If you open problem view you can link directly to missing definition like:

petervlna_2-1743147590207.png

 

Best regards,

Peter

0 项奖励
回复
708 次查看
eusebiudapatech
Contributor II

Thank you for reply.

The problems view window is empty:

eusebiudapatech_0-1743181443420.png


Maybe the problem comes from that "GPT not supportet" part.

eusebiudapatech_1-1743181560303.png


But I don't understand where should I choose OSINTERNAL driver instead of GPT. These are the only configuration parameters I have in OsCounter:

eusebiudapatech_2-1743181618825.png

 

0 项奖励
回复
689 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Looking at the example project I can see:

petervlna_0-1743410611579.png

I have never worked with this NXP OS, but I can see the timer is chosen in General setting of OS plugin:

petervlna_1-1743411085147.png

Have a detailed look at the example codes which are part of OS plugin.

Best regards,

Peter

 

0 项奖励
回复