NXP RTOS Tresos code generation error

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

NXP RTOS Tresos code generation error

Jump to solution
732 Views
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 Kudos
Reply
1 Solution
681 Views
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

 

View solution in original post

0 Kudos
Reply
3 Replies
713 Views
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 Kudos
Reply
701 Views
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 Kudos
Reply
682 Views
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 Kudos
Reply