利用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 |
评分
查看全部评分
评分
查看全部评分
这些在哪操作啊,ST Motor Control workbench吗