S32K322 RTD warning fixes

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

S32K322 RTD warning fixes

1,043 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.png

 

 Thanks & Regards

Abdullah

 

0 Kudos
Reply
2 Replies

1,006 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

969 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2165852%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K322%20RTD%20warning%20fixes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165852%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Support%2C%3C%2FP%3E%3CP%3EI%20was%20trying%20to%20resolve%20all%20the%20alignment%20related%20warnings%20in%20my%20source%20code%2C%20so%20I%20enabled%20the%20associated%20warning%20from%20the%20project%20property.%3C%2FP%3E%3CP%3EBelow%20is%20the%20image%20of%20warning%20in%20RTD%20generated%20file%20which%20I%20need%20to%20resolve.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AbdNxp_0-1757414553221.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22AbdNxp_0-1757414553221.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F356077i4C385F8AC6C73EB7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AbdNxp_0-1757414553221.png%22%20alt%3D%22AbdNxp_0-1757414553221.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3BThanks%20%26amp%3B%20Regards%3C%2FP%3E%3CP%3EAbdullah%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166080%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K322%20RTD%20warning%20fixes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166080%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239701%22%20target%3D%22_blank%22%3E%40AbdNxp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20afraid%20I%20was%20not%20able%20to%20reproduce%20the%20warning%20on%20my%20side.%20Could%20you%20let%20me%20know%20which%20RTD%20version%20you%20are%20using%3F%20Also%2C%20have%20you%20made%20any%20changes%20to%20the%20Clock_Ip%20files%20in%20your%20project%3F%3C%2FP%3E%0A%3CP%3EIf%20possible%2C%20please%20share%20your%20project%20so%20I%20can%20take%20a%20closer%20look%20and%20help%20you%20analyze%20it%20further.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2165871%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K322%20RTD%20warning%20fixes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165871%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3C!--%20StartFragment%20%20--%3E%3C%2FP%3E%3CP%3EHello%2C%20thanks%20for%20reaching%20out.%3C%2FP%3E%3CP%3EThe%20alignment%20warning%20appears%20in%20an%20RTD-generated%20file%2C%20which%20is%20typically%20auto-generated%20and%20not%20meant%20for%20manual%20modification.%20To%20resolve%20this%20cleanly%3A%3C%2FP%3E%3CP%3EConsider%20suppressing%20the%20warning%20for%20generated%20files%20or%20adjusting%20the%20warning%20level%20to%20avoid%20false%20positives.%20If%20modification%20is%20necessary%2C%20ensure%20structure%20members%20are%20properly%20aligned%20using%20compiler-specific%20attributes%20or%20padding.%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you'd%20like%20help%20configuring%20suppression%20or%20adjusting%20your%20build%20settings.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EKyla%20Ellis%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3C!--%20EndFragment%20%20--%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E