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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

153件の閲覧回数
victory
Contributor II

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 件の賞賛
返信
2 返答(返信)

117件の閲覧回数
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 件の賞賛
返信

83件の閲覧回数
victory
Contributor II

The problem has been solved.

Thanks

0 件の賞賛
返信