got error while executing CAN code

cancel
Showing results for 
Search instead for 
Did you mean: 

got error while executing CAN code

193 Views
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]

Labels (1)
0 Kudos
2 Replies

73 Views
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 Kudos

73 Views
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 Kudos