完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
利用ST Motor Control workbench生成工程编译时无法完成编译,好多函数没有函数体,只有声明,哪位大神知道是什么原因啊,
是没有包含电机库吗,怎么处理啊 *** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:Keil_v5ARMARMCCBin' 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_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_OTF_ResetPLL (referred from mc_config.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_ForceConvergency1 (referred from mc_config.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_ForceConvergency2 (referred from mc_config.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_IsVarianceTight (referred from mc_config.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_Clear (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_Exec (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_FirstAccelerationStageReached (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_Init (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_CalcAvrgElSpeedDpp (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_CalcAvrgMecSpeed01Hz (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_CalcElAngle (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_Clear (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_Init (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_IsObserverConverged (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_ResetPLL (referred from mc_tasks.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetNumberOfPhases (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetPhaseDurationms (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetPhaseFinalMecSpeed01Hz (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_GetPhaseFinalTorque (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_SetPhaseDurationms (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_SetPhaseFinalMecSpeed01Hz (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol RUC_SetPhaseFinalTorque (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_GetPLLGains (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetEstimatedBemf (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetEstimatedBemfLevel (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetEstimatedCurrent (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetObservedBemfLevel (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_GetObserverGains (referred from user_interface.o). Motor_CTLMotor_CTL.axf: Error: L6218E: Undefined symbol STO_PLL_SetObserverGains (referred from user_interface.o). Motor_CTLMotor_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_CTLMotor_CTL.axf" - 30 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:02:55 |
|
相关推荐
1个回答
|
|
先Creat Library,然后再Batch Build ,最后再编译UserProject
|
|
|
|
只有小组成员才能发言,加入小组>>
调试STM32H750的FMC总线读写PSRAM遇到的问题求解?
1609 浏览 1 评论
X-NUCLEO-IHM08M1板文档中输出电流为15Arms,15Arms是怎么得出来的呢?
1540 浏览 1 评论
970 浏览 2 评论
STM32F030F4 HSI时钟温度测试过不去是怎么回事?
681 浏览 2 评论
ST25R3916能否对ISO15693的标签芯片进行分区域写密码?
1587 浏览 2 评论
1861浏览 9评论
STM32仿真器是选择ST-LINK还是选择J-LINK?各有什么优势啊?
643浏览 4评论
STM32F0_TIM2输出pwm2后OLED变暗或者系统重启是怎么回事?
515浏览 3评论
528浏览 3评论
stm32cubemx生成mdk-arm v4项目文件无法打开是什么原因导致的?
503浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-20 11:26 , Processed in 0.562417 second(s), Total 49, Slave 43 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号