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?
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