Where is "TSK_SafetyTask_PWMOFF(uint8_t bMotor)" ? (undefined reference error)
Hi,
I made a motor control project thanks to STM32 Motor Control Workbench and STM32 Cube MX. I opened the generated source code without change in Atollic TRUE Studio.
When I build it I obtain this error:
undefined reference to `TSK_SafetyTask_PWMOFF' mc_tasks.c
I tried to find this function but I did not succeed... I think is really missing in the generated code because when I comment the line where this function is used I can build it without any problem.
The question is : Must I write the code of this function myself or something is missing in the generated code?