你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

P-NUCLEO-IHM002 开发套件,利用ST Motor Control workbench生成工程.....

[复制链接]
wangxuewei 提问时间:2018-6-16 12:54 /
利用ST Motor Control workbench生成工程编译时无法完成编译,好多函数没有函数体,只有声明,哪位大神知道是什么原因啊,
是没有包含电机库吗,怎么处理啊

*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Motor_CTL'
assembling startup_stm32f302x8.s...
compiling main.c...
compiling mc_api.c...
compiling motorcontrol.c...
compiling motor_control_protocol.c...
compiling mc_config.c...
compiling mc_tasks.c...
compiling stm32f30x_mc_it.c...
compiling mc_parameters.c...
compiling ui_task.c...
compiling user_interface.c...
compiling stm32f3xx_it.c...
compiling stm32f3xx_hal_msp.c...
compiling stm32f3xx_hal_adc.c...
compiling stm32f3xx_hal_dac.c...
compiling stm32f3xx_hal_adc_ex.c...
compiling stm32f3xx_hal_dac_ex.c...
compiling stm32f3xx_hal_tim.c...
compiling stm32f3xx_hal_tim_ex.c...
compiling stm32f3xx_hal_uart_ex.c...
compiling stm32f3xx_hal.c...
compiling stm32f3xx_hal_uart.c...
compiling stm32f3xx_hal_rcc_ex.c...
compiling stm32f3xx_hal_gpio.c...
compiling stm32f3xx_hal_rcc.c...
compiling stm32f3xx_hal_pwr.c...
compiling stm32f3xx_hal_cortex.c...
compiling stm32f3xx_hal_dma.c...
compiling stm32f3xx_hal_flash.c...
compiling stm32f3xx_hal_pwr_ex.c...
compiling stm32f3xx_hal_flash_ex.c...
compiling system_stm32f3xx.c...
compiling stm32f3xx_hal_i2c_ex.c...
compiling stm32f3xx_hal_i2c.c...
compiling circle_limitation.c...
compiling bus_voltage_sensor.c...
compiling mc_irq_handler.c...
compiling Timebase.c...
compiling digital_output.c...
compiling mc_interface.c...
compiling mc_math.c...
compiling motor_power_measurement.c...
compiling ntc_temperature_sensor.c...
compiling open_loop.c...
compiling pid_regulator.c...
compiling pqd_motor_power_measurement.c...
compiling pwm_curr_fdbk.c...
compiling pwm_common.c...
compiling r_divider_bus_voltage_sensor.c...
compiling ramp_ext_mngr.c...
compiling speed_pos_fdbk.c...
compiling speed_torq_ctrl.c...
compiling state_machine.c...
compiling virtual_speed_sensor.c...
compiling dac_ui.c...
compiling r3_1_f30x_pwm_curr_fdbk.c...
compiling dac_common_ui.c...
compiling ui_irq_handler.c...
compiling frame_communication_protocol.c...
compiling usart_frame_communication_protocol.c...
linking...
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_OTF_ResetPLL (referred from mc_config.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_ForceConvergency1 (referred from mc_config.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_ForceConvergency2 (referred from mc_config.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_IsVarianceTight (referred from mc_config.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_Clear (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_Exec (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_FirstAccelerationStageReached (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_Init (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_CalcAvrgElSpeedDpp (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_CalcAvrgMecSpeed01Hz (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_CalcElAngle (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_Clear (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_Init (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_IsObserverConverged (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_ResetPLL (referred from mc_tasks.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetNumberOfPhases (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetPhaseDurationms (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetPhaseFinalMecSpeed01Hz (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetPhaseFinalTorque (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_SetPhaseDurationms (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_SetPhaseFinalMecSpeed01Hz (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol RUC_SetPhaseFinalTorque (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_GetPLLGains (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetEstimatedBemf (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetEstimatedBemfLevel (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetEstimatedCurrent (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetObservedBemfLevel (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetObserverGains (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_SetObserverGains (referred from user_interface.o).
Motor_CTL\Motor_CTL.axf: Error: L6218E: Undefined symbol STO_SetPLLGains (referred from user_interface.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 30 error messages.
"Motor_CTL\Motor_CTL.axf" - 30 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:02:55

收藏 评论9 发布时间:2018-6-16 12:54

举报

9个回答
xmshao 回答时间:2018-7-16 15:42:31
会不会是你库文件路径没指定正确?

评分

参与人数 1蝴蝶豆 +2 收起 理由
zero99 + 2

查看全部评分

花落莫相离 回答时间:2018-7-16 16:57:27
如果对workbench版本没有要求的话你要不换成5.1.1的版本试试

评分

参与人数 1蝴蝶豆 +2 收起 理由
zero99 + 2

查看全部评分

xsax12zuwnsn 回答时间:2018-12-27 15:59:36
如何解决啊,
工程师傅 回答时间:2018-12-28 09:38:58
不错,学习了
xsax12zuwnsn 回答时间:2018-12-28 16:21:47
如何解决啊。老铁,很难受
蒙面歌王 回答时间:2018-12-28 18:09:10
先Creat Library,然后再Batch Build ,最后再编译UserProject
xsax12zuwnsn 回答时间:2019-1-2 09:40:22
YapRan 发表于 2018-12-28 18:09
先Creat Library,然后再Batch Build ,最后再编译UserProject

这些在哪操作啊,ST Motor Control workbench吗
xsax12zuwnsn 回答时间:2019-1-18 14:54:54
楼主怎么解决啊
xsax12zuwnsn 回答时间:2019-1-19 13:28:47
求解

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版