Hello all.
I'm beginner with nxp s12z and CW 11.1.
I want to use "stdfix.h". But there is some problem with include stdfix.h.
1. I cannot found "stdfix.h" file anywhere my directory(C:\Freescale\).
2. I downloaded "stdfix.h" and copied at "C:\Freescale\CW MCU v11.1\MCU\S12lisa_Support\s12lisac\include". And then, I can include "stdfix.h" but I cannot use library function(e. bitsr(), rbits(), ...).
I can see the error messaege when I compiled my project "function has no prototype".
I included the Search System Path of Access Path of S12Z Compiler,
"${MCUToolsBaseDir}/S12lisa_Support/s12lisac/include"
"${MCUToolsBaseDir}/S12lisa_Support/s12lisac/src"
"${MCUToolsBaseDir}/S12lisa_Support/s12lisac/lib_medium"
Libraries of Input of S12Z Linker
"${MCUToolsBaseDir}/S12lisa_Support/s12lisac/lib_medium/ansii.lib"
Please help me to I can include/use "stdfix.h" correctly.
Best Regards.
已解决! 转到解答。
Hi,
unfortunately stdfix is not supported in CodeWarior. For fixed point arithmetic you can use AMMCLib which is default part of installation. AMMCLib is located in "${MCUToolsBaseDir}/S12lisa_Support/ folder.
Hi,
unfortunately stdfix is not supported in CodeWarior. For fixed point arithmetic you can use AMMCLib which is default part of installation. AMMCLib is located in "${MCUToolsBaseDir}/S12lisa_Support/ folder.