stm32f303ret6 foc5.0有传感器代码编译出错

2019-07-14 14:51发布

FOC5.0的WORKBENCH

使用NUCLEO-F303RE  和IHM08M1 默认的例程编译不会出错,但是如果改为有传感器,无论是霍尔还是编码器的都会出错。
大家有没有遇到同样的问题?
MOTOR配置是采用Motor Profiler 5.0.1生成的

唯一区别就是有没有用传感器
出错都是在最后部分,检查过STO_ForceConvergency1以及其他几个,在头文件里边都是有的,也包含进去了。

hall+sensorlesshall+sensorless.axf: Error: L6218E: Undefined symbol STO_ForceConvergency1 (referred from revup_ctrl.o).
hall+sensorlesshall+sensorless.axf: Error: L6218E: Undefined symbol STO_ForceConvergency2 (referred from revup_ctrl.o).
hall+sensorlesshall+sensorless.axf: Error: L6218E: Undefined symbol STO_IsVariancetight (referred from revup_ctrl.o).
hall+sensorlesshall+sensorless.axf: Error: L6218E: Undefined symbol STO_ResetPLL (referred from revup_ctrl.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 4 error messages.
"hall+sensorlesshall+sensorless.axf" - 4 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:05:27
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。