Question
FOC SDK 4.0 WebDist - no def for MCI_GetTorque
Posted on July 03, 2014 at 23:36
Hi,
I just converted my project from Web Distribution 3.4 to Web Distribution 4.0 , and when compiling signed16[sMECSPEEDREF01HZ] = MCI_GetMecSpeedRef01Hz(*myMCI); signed16[sAVRGMECSPEED01HZ] = MCI_GetAvrgMecSpeed01Hz(*myMCI); signed16[sTORQUEREF] = MCI_GetTorqueRef(*myMCI); signed16[sTORQUE] = MCI_GetTorque(*myMCI); I get Error[Li005]: no definition for ''MCI_GetTorqueRef'' [referenced from C:\Program Files (x86)\STMicroelectronics\FOC SDK\STM32 PMSM FOC LIBv4.0\Web\Project\EWARM\UserProject\ STM32303C-EVAL_SINGLEDRIVE\Obj\rjl_modifications.o] Error[Li005]: no definition for ''MCI_GetTorque'' [referenced from C:\Program Files (x86)\STMicroelectronics\FOC SDK\STM32 PMSM FOC LIBv4.0\Web\Project\EWARM\UserProject\ STM32303C-EVAL_SINGLEDRIVE\Obj\rjl_modifications.o] These definitions are MCInterfaceClass.h, but not in MCInterfaceClass.c. Since the speed commands work, I dont think it is a configuration problem. Are these commands deprecated and replaced by something else? What? (Which is correct -- the .h file or the .c file??) Thanks, Robert