The enumeration generated by S32DS3.5 for S32K312 defaults to a length of 32 bits.

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

The enumeration generated by S32DS3.5 for S32K312 defaults to a length of 32 bits.

531 Views
victory
Contributor IV

1.Enumeration values compiled with S32DS3.5 default to a length of 32 bits. Please refer to the attached document for more details.

2.I want to change the size of the enumeration from 32 bits to 8 bits. Where can I make this modification?

Above, thank you!

0 Kudos
Reply
2 Replies

495 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @victory,

Change -fno-short-enums to -fshort_enums.

danielmartynek_0-1718614958351.png

If you use RTD drivers, however, according to the release notes, it requires -fno-short-enums.

danielmartynek_1-1718615099399.png

 

Regards,

Daniel

 

0 Kudos
Reply

461 Views
victory
Contributor IV

The problem has been solved.

Thanks

0 Kudos
Reply