S32K322 RTD warning fixes

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

S32K322 RTD warning fixes

1,085 Views
AbdNxp
Contributor II

Hello NXP Support,

I was trying to resolve all the alignment related warnings in my source code, so I enabled the associated warning from the project property.

Below is the image of warning in RTD generated file which I need to resolve.

AbdNxp_0-1757414553221.pngAbdNxp_0-1757414553221.png

 

 Thanks & Regards

Abdullah

 

0 Kudos
Reply
2 Replies

1,048 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @AbdNxp 

I am afraid I was not able to reproduce the warning on my side. Could you let me know which RTD version you are using? Also, have you made any changes to the Clock_Ip files in your project?

If possible, please share your project so I can take a closer look and help you analyze it further.

 

BR, VaneB

0 Kudos
Reply

1,011 Views
kyla598ellis
Contributor I

Hello, thanks for reaching out.

The alignment warning appears in an RTD-generated file, which is typically auto-generated and not meant for manual modification. To resolve this cleanly:

Consider suppressing the warning for generated files or adjusting the warning level to avoid false positives. If modification is necessary, ensure structure members are properly aligned using compiler-specific attributes or padding.

Let me know if you'd like help configuring suppression or adjusting your build settings.

Best Regards,
Kyla Ellis

0 Kudos
Reply