got error while executing CAN code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

got error while executing CAN code

1,247 次查看
sreevenkedesh
Contributor I

Error[Li005]: no definition for "_io_printf" [referenced from C:\Freescale\Freescale_MQX_4_1\mqx\examples\can\flexcan\build\iar\flexcan_twrk20d72m\Debug\Obj\

main.o]

Error[Li005]: no definition for "_task_block" [referenced from C:\Freescale\Freescale_MQX_4_1\mqx\examples\can\flexcan\build\iar\flexcan_twrk20d72m\Debug\

Obj\main.o]

Error[Li005]: no definition for "_bsp_get_flexcan_base_address" [referenced from C:\Freescale\Freescale_MQX_4_1\mqx\examples\can\flexcan\build\iar\

flexcan_twrk20d72m\Debug\Obj\main.o]

标签 (1)
标记 (3)
0 项奖励
回复
2 回复数

1,127 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Sree venkedesh,

How about this issue on your side? Actually I can compile it correctly after the whole BSP is built. Please note you have to batch build the whole libs before compiling any MQX example. Please refer to the following for more details.

1.png1-1.png

2.png
Have a great day,
B.R
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,127 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Sree venkedesh,

Have you built the BSP for twrk20d72m firstly before compiling the flexcan example? The BSP project file is in "C:\Freescale\Freescale_MQX_4_1\build\twrk20d72m\iar" for IAR.

Have a great day!

B.R

Kan

0 项奖励
回复