Fixed point support for MCUXpresso

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

Fixed point support for MCUXpresso

660件の閲覧回数
Gray
Contributor I

Good day Forum people,

I am trying to implement fixed point variables on my Cortex-M7 chip using MCUXpresso. I've found that the <stdfix.h> libraby is available when including the library, but when declaring a variable as an '_Accum' type or as an 'accum' (which is in the stdfix.h file is simply a define macro for _Accum), I get the same error: "unknown type name '_Accum'; did you mean 'accum'?". Am I missing something or does anyone have some insight to this issue?

0 件の賞賛
返信
1 返信

631件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Gray ,

I tested this code under MCXprosso IDE on a MCXN947 project. There is no error after building.

volatile long _Accum myval=0;

I would suggest you trying Newlib if didn't pass build on your side. If the problem persists, please let me know how to reproduce the problem.

Thanks,

Jun Zhang

 

 

 

0 件の賞賛
返信